diff options
author | akir <akir> | 2004-10-06 11:40:28 (GMT) |
---|---|---|
committer | akir <akir> | 2004-10-06 11:40:28 (GMT) |
commit | 6f96757fc4e9ed3aa7d77681b8401521a1a681a9 (patch) | |
tree | 34550002f4659dcafef7749a444eae321e8ccb6a /src/FbCommands.hh | |
parent | 997d7d72244911c7224775f2e4c0f62a1dcd32ef (diff) | |
download | fluxbox_pavel-6f96757fc4e9ed3aa7d77681b8401521a1a681a9.zip fluxbox_pavel-6f96757fc4e9ed3aa7d77681b8401521a1a681a9.tar.bz2 |
added :Export / :Setenv command
Diffstat (limited to 'src/FbCommands.hh')
-rw-r--r-- | src/FbCommands.hh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/FbCommands.hh b/src/FbCommands.hh index bc67610..46b3465 100644 --- a/src/FbCommands.hh +++ b/src/FbCommands.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: FbCommands.hh,v 1.19 2004/04/22 21:12:33 fluxgen Exp $ | 22 | // $Id: FbCommands.hh,v 1.20 2004/10/06 11:40:28 akir Exp $ |
23 | 23 | ||
24 | // \file contains basic commands to restart, reconfigure, execute command and exit fluxbox | 24 | // \file contains basic commands to restart, reconfigure, execute command and exit fluxbox |
25 | 25 | ||
@@ -42,6 +42,16 @@ private: | |||
42 | const int m_screen_num; | 42 | const int m_screen_num; |
43 | }; | 43 | }; |
44 | 44 | ||
45 | /// sets environment | ||
46 | class ExportCmd : public FbTk::Command { | ||
47 | public: | ||
48 | ExportCmd(const std::string& name, const std::string& value); | ||
49 | void execute(); | ||
50 | private: | ||
51 | std::string m_name; | ||
52 | std::string m_value; | ||
53 | }; | ||
54 | |||
45 | /// exit fluxbox | 55 | /// exit fluxbox |
46 | class ExitFluxboxCmd: public FbTk::Command { | 56 | class ExitFluxboxCmd: public FbTk::Command { |
47 | public: | 57 | public: |