summaryrefslogtreecommitdiff
path: root/LibGUI/GMenuBar.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-13 17:54:30 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-13 17:54:30 +0100
commit4f98a35bebdc7e39d71615aa57df33e7ebd77d20 (patch)
tree3129feadfdafbf297477d14023af921bad213c0e /LibGUI/GMenuBar.h
parent96352ab735dce3fa448fe7c414ed047f1f145f81 (diff)
downloadserenity-4f98a35bebdc7e39d71615aa57df33e7ebd77d20.zip
WindowServer: Begin refactoring towards a fully asynchronous protocol.
In order to move the WindowServer to userspace, I have to eliminate its dependence on system call facilities. The communication channel with each client needs to be message-based in both directions.
Diffstat (limited to 'LibGUI/GMenuBar.h')
-rw-r--r--LibGUI/GMenuBar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/LibGUI/GMenuBar.h b/LibGUI/GMenuBar.h
index 6d556da89d..8a57cabb27 100644
--- a/LibGUI/GMenuBar.h
+++ b/LibGUI/GMenuBar.h
@@ -18,6 +18,9 @@ public:
void notify_removed_from_application(Badge<GApplication>);
private:
+ int realize_menubar();
+ void unrealize_menubar();
+
int m_menubar_id { 0 };
Vector<OwnPtr<GMenu>> m_menus;
};