aboutsummaryrefslogtreecommitdiff
path: root/src/paramproc.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-06-29 03:07:26 +0000
committerMike Buland <eichlan@xagasoft.com>2006-06-29 03:07:26 +0000
commit9b52daa8512c34b9484ea43302578bc879d212da (patch)
treef10ce105b8c1c9f983e0f040b6f3176250453003 /src/paramproc.h
parent5e386890b41fe043e2639b25b613831ef8362e7b (diff)
downloadlibbu++-9b52daa8512c34b9484ea43302578bc879d212da.tar.gz
libbu++-9b52daa8512c34b9484ea43302578bc879d212da.tar.bz2
libbu++-9b52daa8512c34b9484ea43302578bc879d212da.tar.xz
libbu++-9b52daa8512c34b9484ea43302578bc879d212da.zip
Added the outlines for command parameter handling, for unknown parameter
handling, and for automated help generation.
Diffstat (limited to 'src/paramproc.h')
-rw-r--r--src/paramproc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/paramproc.h b/src/paramproc.h
index b7450b7..d462eac 100644
--- a/src/paramproc.h
+++ b/src/paramproc.h
@@ -130,6 +130,11 @@ public:
130 ArgSpec *checkWord( const char *arg ); 130 ArgSpec *checkWord( const char *arg );
131 ArgSpec *checkLetr( const char arg ); 131 ArgSpec *checkLetr( const char arg );
132 132
133public:
134 virtual int cmdParam( int argc, char *argv[] );
135 virtual int unknownParam( int argc, char *argv[] );
136 virtual int help( int argc, char *argv[] );
137
133private: 138private:
134 std::list<ArgSpec *> lArg; 139 std::list<ArgSpec *> lArg;
135}; 140};