aboutsummaryrefslogtreecommitdiff
path: root/src/FluxboxHandler.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FluxboxHandler.hh')
-rw-r--r--src/FluxboxHandler.hh58
1 files changed, 0 insertions, 58 deletions
diff --git a/src/FluxboxHandler.hh b/src/FluxboxHandler.hh
deleted file mode 100644
index 7d63e70..0000000
--- a/src/FluxboxHandler.hh
+++ /dev/null
@@ -1,58 +0,0 @@
1// FluxboxHandler.hh for FbPager
2// Copyright (c) 2004 Henrik Kinnunen (fluxgen at users.sourceforge.net)
3//
4// Permission is hereby granted, free of charge, to any person obtaining a
5// copy of this software and associated documentation files (the "Software"),
6// to deal in the Software without restriction, including without limitation
7// the rights to use, copy, modify, merge, publish, distribute, sublicense,
8// and/or sell copies of the Software, and to permit persons to whom the
9// Software is furnished to do so, subject to the following conditions:
10//
11// The above copyright notice and this permission notice shall be included in
12// all copies or substantial portions of the Software.
13//
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,
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
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
20// DEALINGS IN THE SOFTWARE.
21
22#ifndef FLUXBOXHANDLER_HH
23#define FLUXBOXHANDLER_HH
24
25#include "ClientHandler.hh"
26#include "FbAtoms.hh"
27
28namespace FbPager {
29
30/// @brief client handler implementation for fluxbox
31class FluxboxHandler: public ClientHandler {
32public:
33 FluxboxHandler();
34
35 void setFocus(FbTk::FbWindow &win);
36 void moveResize(FbTk::FbWindow &win) { }
37 void sendToWorkspace(FbTk::FbWindow &win, int workspace);
38 void closeWindow(FbTk::FbWindow &win) { }
39 bool clientMessage(Pager &pager, XClientMessageEvent &event);
40 void changeWorkspace(int screen_num, int workspace);
41 void setHints(FbTk::FbWindow &win, WindowHint &hints);
42 void getHints(const FbTk::FbWindow &win, WindowHint &hints) const;
43 int numberOfWorkspaces(int screen_num) const;
44 void setDesktopLayout(FbTk::FbWindow &root,
45 Orientation orientation,
46 Corner starting_corner,
47 unsigned int columns, unsigned int rows) {
48 }
49
50 static FluxboxHandler *handler() { return s_handler; }
51private:
52 FbAtoms m_fbatoms;
53 static FluxboxHandler *s_handler;
54};
55
56} // end namespace FbPager
57
58#endif // FLUXBOXHANDLER_HH