diff options
author | fluxgen <fluxgen> | 2002-02-04 07:02:52 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-02-04 07:02:52 (GMT) |
commit | b37a99672a432db58a9f011583ec5102761584d5 (patch) | |
tree | 75397c72271681741e1ebfd4dd1ddb7b87e04830 /src/Netizen.hh | |
parent | 60c51badc43ada00872ad8e138aa818d45f30d4d (diff) | |
download | fluxbox_pavel-b37a99672a432db58a9f011583ec5102761584d5.zip fluxbox_pavel-b37a99672a432db58a9f011583ec5102761584d5.tar.bz2 |
indent
Diffstat (limited to 'src/Netizen.hh')
-rw-r--r-- | src/Netizen.hh | 38 |
1 files changed, 17 insertions, 21 deletions
diff --git a/src/Netizen.hh b/src/Netizen.hh index 1c4a2b4..bb12735 100644 --- a/src/Netizen.hh +++ b/src/Netizen.hh | |||
@@ -13,14 +13,14 @@ | |||
13 | // | 13 | // |
14 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | 14 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
15 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | 15 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
16 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | 16 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
17 | // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 17 | // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
18 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | 18 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | #ifndef _NETIZEN_HH_ | 22 | #ifndef _NETIZEN_HH_ |
23 | #define _NETIZEN_HH_ | 23 | #define _NETIZEN_HH_ |
24 | 24 | ||
25 | // forward declaration | 25 | // forward declaration |
26 | class Netizen; | 26 | class Netizen; |
@@ -33,30 +33,26 @@ class Netizen; | |||
33 | 33 | ||
34 | class Netizen { | 34 | class Netizen { |
35 | private: | 35 | private: |
36 | BaseDisplay *basedisplay; | 36 | BScreen *screen; |
37 | BScreen *screen; | 37 | BaseDisplay *basedisplay; |
38 | Window window; | 38 | Window window; |
39 | XEvent event; | 39 | XEvent event; |
40 | |||
41 | |||
42 | protected: | ||
43 | |||
44 | 40 | ||
45 | public: | 41 | public: |
46 | Netizen(BScreen *, Window); | 42 | Netizen(BScreen *, Window); |
47 | 43 | ||
48 | inline const Window &getWindowID(void) const { return window; } | 44 | inline const Window &getWindowID(void) const { return window; } |
49 | 45 | ||
50 | void sendWorkspaceCount(void); | 46 | void sendWorkspaceCount(void); |
51 | void sendCurrentWorkspace(void); | 47 | void sendCurrentWorkspace(void); |
52 | 48 | ||
53 | void sendWindowFocus(Window); | 49 | void sendWindowFocus(Window); |
54 | void sendWindowAdd(Window, unsigned long); | 50 | void sendWindowAdd(Window, unsigned long); |
55 | void sendWindowDel(Window); | 51 | void sendWindowDel(Window); |
56 | void sendWindowRaise(Window); | 52 | void sendWindowRaise(Window); |
57 | void sendWindowLower(Window); | 53 | void sendWindowLower(Window); |
58 | 54 | ||
59 | void sendConfigNotify(XEvent *); | 55 | void sendConfigNotify(XEvent *); |
60 | }; | 56 | }; |
61 | 57 | ||
62 | 58 | ||