aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-02-04 22:33:09 (GMT)
committerfluxgen <fluxgen>2002-02-04 22:33:09 (GMT)
commit0c4c33f9f595818868dc83f8582909f68dd7efdd (patch)
treec5f2c724d48a8e5571e149150c0705bd63173b6c /src/Slit.hh
parent1207f0cd2e772e9980e303c78ebe6f358888980e (diff)
downloadfluxbox_pavel-0c4c33f9f595818868dc83f8582909f68dd7efdd.zip
fluxbox_pavel-0c4c33f9f595818868dc83f8582909f68dd7efdd.tar.bz2
replaced LinkedList with stl container
Diffstat (limited to 'src/Slit.hh')
-rw-r--r--src/Slit.hh10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Slit.hh b/src/Slit.hh
index f79dbd5..43a91e9 100644
--- a/src/Slit.hh
+++ b/src/Slit.hh
@@ -30,8 +30,8 @@ class Slit;
30class Slitmenu; 30class Slitmenu;
31 31
32#include "Basemenu.hh" 32#include "Basemenu.hh"
33#include "LinkedList.hh"
34 33
34#include <list>
35 35
36class Slitmenu : public Basemenu { 36class Slitmenu : public Basemenu {
37private: 37private:
@@ -100,7 +100,9 @@ private:
100 BScreen *screen; 100 BScreen *screen;
101 BTimer *timer; 101 BTimer *timer;
102 102
103 LinkedList<SlitClient> *clientList; 103 typedef std::list<SlitClient *> SlitClients;
104
105 SlitClients clientList;
104 Slitmenu *slitmenu; 106 Slitmenu *slitmenu;
105 107
106 struct frame { 108 struct frame {
@@ -137,8 +139,8 @@ public:
137 inline const unsigned int &getHeight(void) const { return frame.height; } 139 inline const unsigned int &getHeight(void) const { return frame.height; }
138 140
139 void addClient(Window); 141 void addClient(Window);
140 void removeClient(SlitClient *, Bool = True); 142 void removeClient(SlitClient *, bool = true);
141 void removeClient(Window, Bool = True); 143 void removeClient(Window, bool = true);
142 void reconfigure(void); 144 void reconfigure(void);
143 void reposition(void); 145 void reposition(void);
144 void shutdown(void); 146 void shutdown(void);