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:
2014-10-05 01:41:21 +02:00
parent 85cbb1c8e4
commit 53395e8b18
2 changed files with 34 additions and 12 deletions

View File

@@ -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