summaryrefslogtreecommitdiff
path: root/Libraries/LibGfx/Forward.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-03-29 19:04:05 +0200
committerAndreas Kling <kling@serenityos.org>2020-03-29 19:37:23 +0200
commit7cfe712f4d0298cb645a602afe116698ab0fcd67 (patch)
tree51a964bf210be086634bc69bd48d3ed11debffe5 /Libraries/LibGfx/Forward.h
parent24a0354ce84c6c839930788bc772736f7c56ae18 (diff)
downloadserenity-7cfe712f4d0298cb645a602afe116698ab0fcd67.zip
LibGfx+LibIPC: Add Gfx::ShareableBitmap, a bitmap for easy IPC usage
With this patch, it's now possible to pass a Gfx::ShareableBitmap in an IPC message. As long as the message itself is synchronous, the bitmap will be adopted by the receiving end, and disowned by the sender nicely without any accounting effort like we've had to do in the past. Use this in NotificationServer to allow sending arbitrary bitmaps as icons instead of paths-to-icons.
Diffstat (limited to 'Libraries/LibGfx/Forward.h')
-rw-r--r--Libraries/LibGfx/Forward.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGfx/Forward.h b/Libraries/LibGfx/Forward.h
index c41c7bc21a..37946b3b43 100644
--- a/Libraries/LibGfx/Forward.h
+++ b/Libraries/LibGfx/Forward.h
@@ -44,6 +44,7 @@ class Palette;
class PaletteImpl;
class Point;
class Rect;
+class ShareableBitmap;
class Size;
class StylePainter;
struct SystemTheme;