equal
deleted
inserted
replaced
44 |
44 |
45 static void _showHelp(void *p); |
45 static void _showHelp(void *p); |
46 protected: |
46 protected: |
47 |
47 |
48 int _argc; |
48 int _argc; |
49 const char **_argv; |
49 const char * const *_argv; |
50 |
50 |
51 enum OptType { UNKNOWN=0, BOOL=1, STRING=2, DOUBLE=3, INTEGER=4, FUNC=5 }; |
51 enum OptType { UNKNOWN=0, BOOL=1, STRING=2, DOUBLE=3, INTEGER=4, FUNC=5 }; |
52 |
52 |
53 class ParData { |
53 class ParData { |
54 public: |
54 public: |
117 void (*func)(void *),void *data); |
117 void (*func)(void *),void *data); |
118 |
118 |
119 public: |
119 public: |
120 |
120 |
121 ///Constructor |
121 ///Constructor |
122 ArgParser(int argc, const char **argv); |
122 ArgParser(int argc, const char * const *argv); |
123 |
123 |
124 ~ArgParser(); |
124 ~ArgParser(); |
125 |
125 |
126 ///\name Options |
126 ///\name Options |
127 /// |
127 /// |