aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommandFactory.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-06-30 14:49:23 (GMT)
committerfluxgen <fluxgen>2003-06-30 14:49:23 (GMT)
commit5c657dabaea8b7d0f7f44c73be37662ff8eff988 (patch)
tree5306dba1010f7466c86c370388a8518e42725a7d /src/FbCommandFactory.hh
parentbbe279233a210fe8ef23b0d265421b8f18d2b358 (diff)
downloadfluxbox-5c657dabaea8b7d0f7f44c73be37662ff8eff988.zip
fluxbox-5c657dabaea8b7d0f7f44c73be37662ff8eff988.tar.bz2
command factory for basic fluxbox commands
Diffstat (limited to 'src/FbCommandFactory.hh')
-rw-r--r--src/FbCommandFactory.hh35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/FbCommandFactory.hh b/src/FbCommandFactory.hh
new file mode 100644
index 0000000..135c87f
--- /dev/null
+++ b/src/FbCommandFactory.hh
@@ -0,0 +1,35 @@
1// FbCommandFactory.hh for Fluxbox Window manager
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: FbCommandFactory.hh,v 1.1 2003/06/30 14:49:23 fluxgen Exp $
24
25#include "CommandParser.hh"
26
27class FbCommandFactory: public CommandFactory {
28public:
29 FbTk::Command *stringToCommand(const std::string &command,
30 const std::string &arguments);
31
32private:
33 FbCommandFactory();
34 static FbCommandFactory s_autoreg; ///< autoregister variable
35};