diff options
Diffstat (limited to 'src/cli/cli.h')
| -rwxr-xr-x | src/cli/cli.h | 39 |
1 files changed, 23 insertions, 16 deletions
diff --git a/src/cli/cli.h b/src/cli/cli.h index 2c37c17..7d51e3f 100755 --- a/src/cli/cli.h +++ b/src/cli/cli.h @@ -5,11 +5,11 @@ #include <iostream> #include <vector> -#ifndef RUSAGE_SELF -#define RUSAGE_SELF 0 +#ifndef RUSAGE_SELF +#define RUSAGE_SELF 0 #endif -#ifndef RUSAGE_CHILDREN -#define RUSAGE_CHILDREN -1 +#ifndef RUSAGE_CHILDREN +#define RUSAGE_CHILDREN -1 #endif #include "../incl.h" @@ -22,32 +22,39 @@ #include "../thrd/thro.h" #endif +#include "../monitor/dump.h" + using namespace std; -class cli #ifndef NCURSES -: public thro -#endif +class cli : public thro { +#else +class cli +{ +#endif private: - int parse_input( string s_input ); - + int parse_input(string s_input); + vector<string> vectorize(string s_param); + public: - cli( ); - ~cli( ); +cli( ); +~cli( ); #ifdef DEBUG - void debug_routine(); + +void debug_routine(); #endif - void print_rusage(); +void print_rusage(); #ifndef NCURSES - void start(void* p_void); + +void start(void* p_void); #else - void start(); -#endif +void start(); +#endif }; #endif |
