Merge branch 'cst-next' of git://coolstreamtech.de/cst-public-gui-neutrino into ni/cst-next

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7150ff7202
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-07-04 (Mon, 04 Jul 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-07-04 21:32:58 +02:00
2 changed files with 11 additions and 3 deletions

View File

@@ -51,10 +51,14 @@ CShellWindow::CShellWindow(const std::string &Command, const int Mode, int *Res,
textBox = NULL; textBox = NULL;
frameBuffer = CFrameBuffer::getInstance(); frameBuffer = CFrameBuffer::getInstance();
command = Command; setCommand(Command, Mode, Res, auto_exec);
mode = Mode; }
res = Res;
void CShellWindow::setCommand(const std::string &Command, const int Mode, int* Res, bool auto_exec)
{
command = Command;
mode = Mode;
res = Res;
if (auto_exec) if (auto_exec)
exec(); exec();
} }

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(const std::string &Command, const int Mode = 0, int* Res = NULL, bool auto_exec = true);
~CShellWindow(); ~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(); void exec();
/*! /*!