aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-01-02 13:43:58 (GMT)
committerfluxgen <fluxgen>2004-01-02 13:43:58 (GMT)
commit5103e80e9adaeac1cfc5dc21cc28de993dc9d710 (patch)
tree72730eb4e349ba03064bae895d77c530456d6bd3
parent345ef845c94bb4d77ed210e2c7a2c252d3068d59 (diff)
downloadfluxbox-5103e80e9adaeac1cfc5dc21cc28de993dc9d710.zip
fluxbox-5103e80e9adaeac1cfc5dc21cc28de993dc9d710.tar.bz2
command factory accessor
-rw-r--r--src/CommandParser.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CommandParser.hh b/src/CommandParser.hh
index 7872ef2..038598f 100644
--- a/src/CommandParser.hh
+++ b/src/CommandParser.hh
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: CommandParser.hh,v 1.2 2003/07/01 09:01:20 fluxgen Exp $ 23// $Id: CommandParser.hh,v 1.3 2004/01/02 13:43:58 fluxgen Exp $
24 24
25#ifndef COMMANDPARSER_HH 25#ifndef COMMANDPARSER_HH
26#define COMMANDPARSER_HH 26#define COMMANDPARSER_HH
@@ -56,6 +56,8 @@ public:
56 56
57 /// @return instance of command parser 57 /// @return instance of command parser
58 static CommandParser &instance(); 58 static CommandParser &instance();
59 /// @return map of factorys
60 const CommandFactoryMap &factorys() const { return m_commandfactorys; }
59private: 61private:
60 // so CommandFactory can associate it's commands 62 // so CommandFactory can associate it's commands
61 friend class CommandFactory; 63 friend class CommandFactory;