mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
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:
@@ -51,10 +51,14 @@ CShellWindow::CShellWindow(const std::string &Command, const int Mode, int *Res,
|
||||
textBox = NULL;
|
||||
frameBuffer = CFrameBuffer::getInstance();
|
||||
|
||||
command = Command;
|
||||
mode = Mode;
|
||||
res = Res;
|
||||
setCommand(Command, Mode, Res, auto_exec);
|
||||
}
|
||||
|
||||
void CShellWindow::setCommand(const std::string &Command, const int Mode, int* Res, bool auto_exec)
|
||||
{
|
||||
command = Command;
|
||||
mode = Mode;
|
||||
res = Res;
|
||||
if (auto_exec)
|
||||
exec();
|
||||
}
|
||||
|
@@ -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();
|
||||
|
||||
/*!
|
||||
|
Reference in New Issue
Block a user