mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
CShellWindow: clean up constructor/destructor
Most tasks of this class were dispersed in the constructor and destructor.
Tasks are better placed in Members.
Origin commit data
------------------
Branch: ni/coolstream
Commit: dbfa0859cf
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-05 (Sun, 05 Oct 2014)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -42,12 +42,16 @@ class CShellWindow
|
||||
ACKNOWLEDGE = 2,
|
||||
ACKNOWLEDGE_MSG = 4
|
||||
};
|
||||
CShellWindow(const std::string &cmd, const int mode = 0, int *res = NULL);
|
||||
CShellWindow(const std::string &Command, const int Mode = 0, int* Res = NULL);
|
||||
~CShellWindow();
|
||||
private:
|
||||
int mode;
|
||||
std::string command;
|
||||
int* res;
|
||||
CFrameBuffer *frameBuffer;
|
||||
CTextBox *textBox;
|
||||
void exec();
|
||||
void showResult();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user