aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.hh
diff options
context:
space:
mode:
authormathias <mathias>2006-04-22 07:03:58 (GMT)
committermathias <mathias>2006-04-22 07:03:58 (GMT)
commitdc532830606461182f5b9fbac54847a1b3c5b080 (patch)
tree19067747564dca5d1bdabd00c1e0024735187d73 /src/Workspace.hh
parentedafa987bee64b898ab301263431f97fbd9445e2 (diff)
downloadfluxbox_pavel-dc532830606461182f5b9fbac54847a1b3c5b080.zip
fluxbox_pavel-dc532830606461182f5b9fbac54847a1b3c5b080.tar.bz2
* cosmetics to Workspace.hh CurrentWindowCmd.cc
* added first draft of new docs in asciidoc format, needs to be converted properly to roff-format, right now its just a temporary "home" * rename of Coding_style to CODESTYLE
Diffstat (limited to 'src/Workspace.hh')
-rw-r--r--src/Workspace.hh26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/Workspace.hh b/src/Workspace.hh
index 3415f47..135ac4d 100644
--- a/src/Workspace.hh
+++ b/src/Workspace.hh
@@ -22,8 +22,8 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25#ifndef WORKSPACE_HH 25#ifndef WORKSPACE_HH
26#define WORKSPACE_HH 26#define WORKSPACE_HH
27 27
28 28
29 29
@@ -42,7 +42,7 @@ class FluxboxWindow;
42class WinClient; 42class WinClient;
43 43
44/** 44/**
45 Handles a single workspace 45 Handles a single workspace
46*/ 46*/
47class Workspace:private FbTk::NotCopyable, private FbTk::Observer { 47class Workspace:private FbTk::NotCopyable, private FbTk::Observer {
48public: 48public:
@@ -51,7 +51,7 @@ public:
51 Workspace(BScreen &screen, FbTk::MultLayers &layermanager, const std::string &name, 51 Workspace(BScreen &screen, FbTk::MultLayers &layermanager, const std::string &name,
52 unsigned int workspaceid = 0); 52 unsigned int workspaceid = 0);
53 ~Workspace(); 53 ~Workspace();
54 54
55 void setLastFocusedWindow(FluxboxWindow *w); 55 void setLastFocusedWindow(FluxboxWindow *w);
56 56
57 /// Set workspace name 57 /// Set workspace name
@@ -66,19 +66,19 @@ public:
66 void updateClientmenu(); 66 void updateClientmenu();
67 67
68 BScreen &screen() { return m_screen; } 68 BScreen &screen() { return m_screen; }
69 const BScreen &screen() const { return m_screen; } 69 const BScreen &screen() const { return m_screen; }
70 70
71 FluxboxWindow *lastFocusedWindow() { return m_lastfocus; } 71 FluxboxWindow *lastFocusedWindow() { return m_lastfocus; }
72 const FluxboxWindow *lastFocusedWindow() const { return m_lastfocus; } 72 const FluxboxWindow *lastFocusedWindow() const { return m_lastfocus; }
73 73
74 inline FbTk::Menu &menu() { return m_clientmenu; } 74 FbTk::Menu &menu() { return m_clientmenu; }
75 inline const FbTk::Menu &menu() const { return m_clientmenu; } 75 const FbTk::Menu &menu() const { return m_clientmenu; }
76 /// name of this workspace 76 /// name of this workspace
77 inline const std::string &name() const { return m_name; } 77 const std::string &name() const { return m_name; }
78 /** 78 /**
79 @return the number of this workspace, note: obsolete, should be in BScreen 79 @return the number of this workspace, note: obsolete, should be in BScreen
80 */ 80 */
81 inline unsigned int workspaceID() const { return m_id; } 81 unsigned int workspaceID() const { return m_id; }
82 82
83 const Windows &windowList() const { return m_windowlist; } 83 const Windows &windowList() const { return m_windowlist; }
84 Windows &windowList() { return m_windowlist; } 84 Windows &windowList() { return m_windowlist; }
@@ -98,14 +98,14 @@ private:
98 98
99 typedef std::vector<std::string> Group; 99 typedef std::vector<std::string> Group;
100 typedef std::vector<Group> GroupList; 100 typedef std::vector<Group> GroupList;
101 101
102 static GroupList m_groups; ///< handle auto groupings 102 static GroupList m_groups; ///< handle auto groupings
103 103
104 FbTk::MultLayers &m_layermanager; 104 FbTk::MultLayers &m_layermanager;
105 Windows m_windowlist; 105 Windows m_windowlist;
106 106
107 std::string m_name; ///< name of this workspace 107 std::string m_name; ///< name of this workspace
108 unsigned int m_id; ///< id, obsolete, this should be in BScreen 108 unsigned int m_id; ///< id, obsolete, this should be in BScreen
109 109
110}; 110};
111 111