summaryrefslogtreecommitdiff
path: root/WindowServer/WSMenu.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-14 08:22:47 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-14 08:22:47 +0100
commitaa7947c88928be64b651be622527e5fe20beca46 (patch)
treebbdd5c9507f0c1945a0bed08e7b31dea49d77dc8 /WindowServer/WSMenu.h
parentf529b845ecd5d2f023ebb56b03afe086df6c21e2 (diff)
downloadserenity-aa7947c88928be64b651be622527e5fe20beca46.zip
WindowServer: Add WSClientConnection class to manage an individual client.
This makes both object lifetimes and object ID's a lot easier to understand.
Diffstat (limited to 'WindowServer/WSMenu.h')
-rw-r--r--WindowServer/WSMenu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/WindowServer/WSMenu.h b/WindowServer/WSMenu.h
index bd15d02e59..363f92b52c 100644
--- a/WindowServer/WSMenu.h
+++ b/WindowServer/WSMenu.h
@@ -12,7 +12,7 @@ class WSWindow;
class Font;
class Process;
-class WSMenu {
+class WSMenu : public Weakable<WSMenu> {
public:
WSMenu(Process&, int menu_id, String&& name);
~WSMenu();