diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-05-12 20:56:40 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-05-12 20:56:40 +0000 |
| commit | 4969c1b08453a4048c94f207f0c02287bdbc1d0c (patch) | |
| tree | a5a12a1487b1847caa2d8722cc4b30820becfa53 /src | |
| parent | 30b899fc025e7fee283be7170bd642b509f5c7b5 (diff) | |
move some typedefs into class scope
Diffstat (limited to 'src')
| -rw-r--r-- | src/Screen.h | 9 | ||||
| -rw-r--r-- | src/Workspace.h | 5 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/Screen.h b/src/Screen.h index c59a2e95..15f83a22 100644 --- a/src/Screen.h +++ b/src/Screen.h @@ -55,10 +55,6 @@ #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 { diff --git a/src/Workspace.h b/src/Workspace.h index 9b7aba10..1f2483af 100644 --- a/src/Workspace.h +++ b/src/Workspace.h @@ -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; |
