summaryrefslogtreecommitdiff
path: root/httpupargparser.h
diff options
context:
space:
mode:
authorJohannes Winkelmann <jw@smts.ch>2005-11-09 21:44:34 +0000
committerJohannes Winkelmann <jw@smts.ch>2005-11-09 21:44:34 +0000
commit18c22c5a414a8beeac0d958ab39589c883ab06d4 (patch)
treef535c447c8c53775ad0b501dec83d8e1a33f8b79 /httpupargparser.h
downloadhttpup-18c22c5a414a8beeac0d958ab39589c883ab06d4.tar.gz
httpup-18c22c5a414a8beeac0d958ab39589c883ab06d4.tar.xz
import httpup 0.4.0f
Diffstat (limited to 'httpupargparser.h')
-rw-r--r--httpupargparser.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/httpupargparser.h b/httpupargparser.h
new file mode 100644
index 0000000..ede9b42
--- /dev/null
+++ b/httpupargparser.h
@@ -0,0 +1,42 @@
+////////////////////////////////////////////////////////////////////////
+// FILE: httpupargparser.h
+// AUTHOR: Johannes Winkelmann, jw@tks6.net
+// COPYRIGHT: (c) 2005 by Johannes Winkelmann
+// ---------------------------------------------------------------------
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+////////////////////////////////////////////////////////////////////////
+
+
+#ifndef _HTTPUPARGPARSER_H_
+#define _HTTPUPARGPARSER_H_
+
+#include "argparser.h"
+
+class HttpupArgparser
+ : public ArgParser
+{
+public:
+ HttpupArgparser();
+ virtual ~HttpupArgparser() {}
+
+
+ static ArgParser::APCmd CMD_SYNC;
+ // static ArgParser::APCmd CMD_MIRROR;
+ static ArgParser::APCmd CMD_COPY;
+ static ArgParser::APCmd CMD_LIST;
+
+ static ArgParser::APOpt OPT_REPOFILE;
+ static ArgParser::APOpt OPT_ENCODE;
+ static ArgParser::APOpt OPT_VERIFY_MD5;
+
+ std::string getAppIdentification() const
+ { return std::string("httpup ") + MF_VERSION + "\n"; }
+
+
+};
+
+
+#endif /* _HTTPUPARGPARSER_H_ */

Generated by cgit