aboutsummaryrefslogtreecommitdiff
path: root/src/Clientmenu.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Clientmenu.hh')
-rw-r--r--src/Clientmenu.hh11
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
29class Workspace; 27class Workspace;
30 28
31 29class Clientmenu: public Basemenu {
32class Clientmenu : public Basemenu {
33public: 30public:
34 Clientmenu(Workspace *wrksp); 31 explicit Clientmenu(Workspace &wrksp);
35 32
36protected: 33protected:
37 virtual void itemSelected(int button, unsigned int index); 34 virtual void itemSelected(int button, unsigned int index);
38 35
39private: 36private:
40 Workspace *m_wkspc; 37 Workspace &m_wkspc;
41}; 38};
42 39
43 40
44#endif // _CLIENTMENU_HH_ 41#endif // CLIENTMENU_HH
45 42