]> Dogcows Code - chaz/openbox/commitdiff
move some typedefs into class scope
authorDana Jansens <danakj@orodu.net>
Sun, 12 May 2002 20:56:40 +0000 (20:56 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 12 May 2002 20:56:40 +0000 (20:56 +0000)
src/Screen.h
src/Workspace.h

index c59a2e95d33e90c2248782980329696dbb52c47d..15f83a22a81f12f51c2f590938e9e954b7f6cf12 100644 (file)
 
 #include <list>
 #include <vector>
-typedef std::list<Rootmenu *> menuList;
-typedef std::list<Netizen *> netList;
-typedef std::vector<Workspace *> wkspList;
-typedef std::vector<std::string> wkspNameList;
 
 // forward declaration
 class BScreen;
@@ -116,8 +112,11 @@ private:
   Iconmenu *iconmenu;
   Rootmenu *rootmenu;
 
+  typedef std::list<Rootmenu *> menuList;
   menuList rootmenuList;
+  typedef std::list<Netizen *> netList;
   netList netizenList;
+  typedef std::list<OpenboxWindow *> winList;
   winList iconList;     // winList is declared in Workspace.h
 
 #ifdef    SLIT
@@ -131,7 +130,9 @@ private:
   unsigned int geom_w, geom_h;
   unsigned long event_mask;
 
+  typedef std::vector<std::string> wkspNameList;
   wkspNameList workspaceNames;
+  typedef std::vector<Workspace *> wkspList;
   wkspList workspacesList;
 
   struct resource {
index 9b7aba101e6ab69975dc68179170cbab5e1bea96..1f2483af499ea3903cd22d71190abfa2f19a39e3 100644 (file)
@@ -35,16 +35,15 @@ class OpenboxWindow;
 class Size;
 class Rect;
 
-typedef std::vector<OpenboxWindow *> winVect;
-typedef std::list<OpenboxWindow *> winList;
-
 class Workspace {
 private:
   BScreen &screen;
   OpenboxWindow *lastfocus;
   Clientmenu *clientmenu;
 
+  typedef std::vector<OpenboxWindow *> winVect;
   winVect _windows;
+  typedef std::list<OpenboxWindow *> winList;
   winList _zorder;
 
   char *name;
This page took 0.022677 seconds and 4 git commands to generate.