diff options
Diffstat (limited to 'src/cli/cli.h')
| -rwxr-xr-x | src/cli/cli.h | 37 |
1 files changed, 15 insertions, 22 deletions
diff --git a/src/cli/cli.h b/src/cli/cli.h index 8ec75cb..2c37c17 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,39 +22,32 @@ #include "../thrd/thro.h" #endif -#include "../monitor/dump.h" - using namespace std; -#ifndef NCURSES -class cli : public thro -{ -#else class cli -{ +#ifndef NCURSES +: public thro #endif +{ private: - int parse_input(string s_input); - vector<string> vectorize(string s_param); + int parse_input( string s_input ); 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(); + void start(); #endif + }; #endif |
