1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:37:46 +00:00

AK: Move the userspace SharedBuffer from LibC to AK

This always felt out-of-place in LibC.
This commit is contained in:
Andreas Kling 2020-01-01 18:53:34 +01:00
parent 38f93ef13b
commit fc86460134
22 changed files with 41 additions and 24 deletions

View file

@ -6,6 +6,10 @@
#include <LibDraw/Palette.h>
#include <LibGUI/GShortcut.h>
namespace AK {
class SharedBuffer;
}
class CEventLoop;
class GAction;
class GKeyEvent;
@ -14,7 +18,6 @@ class GWindow;
class GWindowServerConnection;
class Palette;
class Point;
class SharedBuffer;
class GApplication {
public:

View file

@ -1,4 +1,4 @@
#include <LibC/SharedBuffer.h>
#include <AK/SharedBuffer.h>
#include <LibGUI/GClipboard.h>
#include <LibGUI/GWindowServerConnection.h>

View file

@ -1,7 +1,7 @@
#include <AK/HashMap.h>
#include <AK/JsonObject.h>
#include <AK/NeverDestroyed.h>
#include <LibC/SharedBuffer.h>
#include <AK/SharedBuffer.h>
#include <LibC/stdio.h>
#include <LibC/stdlib.h>
#include <LibC/unistd.h>