diff options
Diffstat (limited to 'src/Keys.hh')
-rw-r--r-- | src/Keys.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Keys.hh b/src/Keys.hh index 143715b..8c018bb 100644 --- a/src/Keys.hh +++ b/src/Keys.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: Keys.hh,v 1.6 2002/02/17 18:57:47 fluxgen Exp $ | 22 | // $Id: Keys.hh,v 1.7 2002/02/20 23:10:48 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef KEYS_HH | 24 | #ifndef KEYS_HH |
25 | #define KEYS_HH | 25 | #define KEYS_HH |
@@ -36,6 +36,7 @@ enum KeyAction{ | |||
36 | RAISE, LOWER, | 36 | RAISE, LOWER, |
37 | CLOSE, | 37 | CLOSE, |
38 | ABORTKEYCHAIN, | 38 | ABORTKEYCHAIN, |
39 | WORKSPACE, | ||
39 | WORKSPACE1, WORKSPACE2, WORKSPACE3, WORKSPACE4, | 40 | WORKSPACE1, WORKSPACE2, WORKSPACE3, WORKSPACE4, |
40 | WORKSPACE5, WORKSPACE6, WORKSPACE7, WORKSPACE8, | 41 | WORKSPACE5, WORKSPACE6, WORKSPACE7, WORKSPACE8, |
41 | WORKSPACE9, WORKSPACE10, WORKSPACE11, WORKSPACE12, | 42 | WORKSPACE9, WORKSPACE10, WORKSPACE11, WORKSPACE12, |
@@ -60,6 +61,7 @@ enum KeyAction{ | |||
60 | bool reconfigure(char *filename); | 61 | bool reconfigure(char *filename); |
61 | const char *getActionStr(KeyAction action); | 62 | const char *getActionStr(KeyAction action); |
62 | std::string getExecCommand() { return m_execcmdstring; } | 63 | std::string getExecCommand() { return m_execcmdstring; } |
64 | int getParam() const { return m_param; } | ||
63 | 65 | ||
64 | private: | 66 | private: |
65 | void deleteTree(); | 67 | void deleteTree(); |
@@ -100,6 +102,7 @@ private: | |||
100 | unsigned int mod; | 102 | unsigned int mod; |
101 | std::vector<t_key *> keylist; | 103 | std::vector<t_key *> keylist; |
102 | std::string execcommand; | 104 | std::string execcommand; |
105 | int param; // parameter to comands | ||
103 | }; | 106 | }; |
104 | 107 | ||
105 | bool mergeTree(t_key *newtree, t_key *basetree=0); | 108 | bool mergeTree(t_key *newtree, t_key *basetree=0); |
@@ -117,6 +120,7 @@ private: | |||
117 | std::vector<t_key *> m_keylist; | 120 | std::vector<t_key *> m_keylist; |
118 | t_key *m_abortkey; //abortkey for keygrabbing chain | 121 | t_key *m_abortkey; //abortkey for keygrabbing chain |
119 | std::string m_execcmdstring; //copy of the execcommandstring | 122 | std::string m_execcmdstring; //copy of the execcommandstring |
123 | int m_param; // copy of the param argument | ||
120 | Display *m_display; | 124 | Display *m_display; |
121 | }; | 125 | }; |
122 | 126 | ||