summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-21 11:12:45 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-21 11:12:45 +0200
commitede598589a1c0323e3c2558029fc9f86523ab997 (patch)
treebd00b0f4f638a88531f82fdd23ec0742924c7fb9
parent2e9cc75d11dba67498b82fab31323688b1f5ccc5 (diff)
downloadserenity-ede598589a1c0323e3c2558029fc9f86523ab997.zip
WindowServer: Make most of WSMenuBarKeeper private.
The outside world doesn't need to know about all this stuff.
-rw-r--r--Servers/WindowServer/WSMenuBarKeeper.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Servers/WindowServer/WSMenuBarKeeper.h b/Servers/WindowServer/WSMenuBarKeeper.h
index 19f4cbecac..a0746f98a9 100644
--- a/Servers/WindowServer/WSMenuBarKeeper.h
+++ b/Servers/WindowServer/WSMenuBarKeeper.h
@@ -9,17 +9,17 @@ public:
WSMenuBarKeeper();
virtual ~WSMenuBarKeeper() override;
- WSWindow& window() { return *m_window; }
- const WSWindow& window() const { return *m_window; }
-
- void draw();
- void refresh();
void setup();
+ void refresh();
virtual void event(CEvent&) override;
virtual const char* class_name() const override { return "WSMenuBarKeeper"; }
private:
+ WSWindow& window() { return *m_window; }
+ const WSWindow& window() const { return *m_window; }
+
+ void draw();
void tick_clock();
OwnPtr<WSWindow> m_window;