diff options
Diffstat (limited to 'src/Clientmenu.hh')
-rw-r--r-- | src/Clientmenu.hh | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/Clientmenu.hh b/src/Clientmenu.hh index f49822a..77c4d6a 100644 --- a/src/Clientmenu.hh +++ b/src/Clientmenu.hh | |||
@@ -22,24 +22,21 @@ | |||
22 | #ifndef CLIENTMENU_HH | 22 | #ifndef CLIENTMENU_HH |
23 | #define CLIENTMENU_HH | 23 | #define CLIENTMENU_HH |
24 | 24 | ||
25 | |||
26 | #include "Basemenu.hh" | 25 | #include "Basemenu.hh" |
27 | 26 | ||
28 | // forward declarations | ||
29 | class Workspace; | 27 | class Workspace; |
30 | 28 | ||
31 | 29 | class Clientmenu: public Basemenu { | |
32 | class Clientmenu : public Basemenu { | ||
33 | public: | 30 | public: |
34 | Clientmenu(Workspace *wrksp); | 31 | explicit Clientmenu(Workspace &wrksp); |
35 | 32 | ||
36 | protected: | 33 | protected: |
37 | virtual void itemSelected(int button, unsigned int index); | 34 | virtual void itemSelected(int button, unsigned int index); |
38 | 35 | ||
39 | private: | 36 | private: |
40 | Workspace *m_wkspc; | 37 | Workspace &m_wkspc; |
41 | }; | 38 | }; |
42 | 39 | ||
43 | 40 | ||
44 | #endif // _CLIENTMENU_HH_ | 41 | #endif // CLIENTMENU_HH |
45 | 42 | ||