CShellWindow: add members to set/get commands and get current mode

This allows to use shellwindow objects with existing instance.


Origin commit data
------------------
Branch: ni/coolstream
Commit: e8a758ac61
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-06-29 (Wed, 29 Jun 2016)



------------------
This commit was generated by Migit
This commit is contained in:
2016-06-29 20:38:21 +02:00
parent 8da554c0fa
commit b81e75dd36
2 changed files with 11 additions and 3 deletions

View File

@@ -56,6 +56,10 @@ class CShellWindow : public sigc::trackable
};
CShellWindow(const std::string &Command, const int Mode = 0, int* Res = NULL, bool auto_exec = true);
~CShellWindow();
void setCommand(const std::string &Command, const int Mode = 0, int* Res = NULL, bool auto_exec = true);
std::string getCommand(){return command;}
int getMode(){return mode;}
void exec();
/*!