aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Command.hh
diff options
context:
space:
mode:
authormarkt <markt>2007-11-22 04:07:57 (GMT)
committermarkt <markt>2007-11-22 04:07:57 (GMT)
commit675bc5d66aa08311e99cb00cf836d16a910a73df (patch)
tree9118f77bcc38631f944cdf4a07d2173011a29a9b /src/FbTk/Command.hh
parent08ebff4b319f51b4263cded0bb9c04103bcd9c3a (diff)
downloadfluxbox_pavel-675bc5d66aa08311e99cb00cf836d16a910a73df.zip
fluxbox_pavel-675bc5d66aa08311e99cb00cf836d16a910a73df.tar.bz2
added conditional statements to keys file
Diffstat (limited to 'src/FbTk/Command.hh')
-rw-r--r--src/FbTk/Command.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/FbTk/Command.hh b/src/FbTk/Command.hh
index 391aa78..5d38cb8 100644
--- a/src/FbTk/Command.hh
+++ b/src/FbTk/Command.hh
@@ -31,6 +31,14 @@ public:
31 virtual void execute() = 0; 31 virtual void execute() = 0;
32}; 32};
33 33
34/// Interface class for boolean commands
35class BoolCommand: public Command {
36public:
37 virtual ~BoolCommand() { }
38 virtual void execute() { bool_execute(); }
39 virtual bool bool_execute() = 0;
40};
41
34} // end namespace FbTk 42} // end namespace FbTk
35 43
36#endif // FBTK_COMMAND_HH 44#endif // FBTK_COMMAND_HH