aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/LayerItem.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/LayerItem.hh')
-rw-r--r--src/FbTk/LayerItem.hh43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/FbTk/LayerItem.hh b/src/FbTk/LayerItem.hh
new file mode 100644
index 0000000..372cdea
--- /dev/null
+++ b/src/FbTk/LayerItem.hh
@@ -0,0 +1,43 @@
1// LayerItem.hh for fluxbox
2// Copyright (c) 2003 Henrik Kinnunen (fluxgen at users.sourceforge.net)
3// and Simon Bowden (rathnor at users.sourceforge.net)
4//
5// Permission is hereby granted, free of charge, to any person obtaining a
6// copy of this software and associated documentation files (the "Software"),
7// to deal in the Software without restriction, including without limitation
8// the rights to use, copy, modify, merge, publish, distribute, sublicense,
9// and/or sell copies of the Software, and to permit persons to whom the
10// Software is furnished to do so, subject to the following conditions:
11//
12// The above copyright notice and this permission notice shall be included in
13// all copies or substantial portions of the Software.
14//
15// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE.
22
23// $Id: LayerItem.hh,v 1.1 2003/01/16 12:41:27 rathnor Exp $
24
25#ifndef FBTK_LAYERITEM_HH
26#define FBTK_LAYERITEM_HH
27
28namespace FbTk {
29
30/// pure interface class, an item in layer
31class LayerItem {
32public:
33 virtual ~LayerItem() { }
34
35 virtual void raise() = 0;
36 virtual void lower() = 0;
37 virtual void stepUp() = 0;
38 virtual void stepDown() = 0;
39};
40
41}; // end namespace FbTk
42
43#endif // FBTK_LAYERITEM_HH