- LinkedList<Rootmenu> *rootmenuList;
- LinkedList<Netizen> *netizenList;
- LinkedList<OpenboxWindow> *iconList;
+ 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
unsigned int geom_w, geom_h;
unsigned long event_mask;
unsigned int geom_w, geom_h;
unsigned long event_mask;
- LinkedList<char> *workspaceNames;
- LinkedList<Workspace> *workspacesList;
+ typedef std::vector<std::string> wkspNameList;
+ wkspNameList workspaceNames;
+ typedef std::vector<Workspace *> wkspList;
+ wkspList workspacesList;
inline Workspace *getCurrentWorkspace() { return current_workspace; }
inline Workspacemenu *getWorkspacemenu() { return workspacemenu; }
inline Workspace *getCurrentWorkspace() { return current_workspace; }
inline Workspacemenu *getWorkspacemenu() { return workspacemenu; }
- inline const int getWorkspaceCount() { return workspacesList->count(); }
- inline const int getIconCount() { return iconList->count(); }
+ inline const int getWorkspaceCount() { return workspacesList.size(); }
+ inline const int getIconCount() { return iconList.size(); }
void removeNetizen(Window);
void addIcon(OpenboxWindow *);
void removeIcon(OpenboxWindow *);
void removeNetizen(Window);
void addIcon(OpenboxWindow *);
void removeIcon(OpenboxWindow *);
void changeWorkspaceID(int);
void raiseWindows(Window *, int);
void reassociateWindow(OpenboxWindow *, int, Bool);
void changeWorkspaceID(int);
void raiseWindows(Window *, int);
void reassociateWindow(OpenboxWindow *, int, Bool);