blob: ede9b42c90a5494738c5409d0d80b9b569bb105c (
plain)
1 ////////////////////////////////////////////////////////////////////////
2 // FILE: httpupargparser.h
3 // AUTHOR: Johannes Winkelmann, jw@tks6.net
4 // COPYRIGHT: (c) 2005 by Johannes Winkelmann
5 // ---------------------------------------------------------------------
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 2 of the License, or
9 // (at your option) any later version.
10 ////////////////////////////////////////////////////////////////////////
11
12
13 #ifndef _HTTPUPARGPARSER_H_
14 #define _HTTPUPARGPARSER_H_
15
16 #include "argparser.h"
17
18 class HttpupArgparser
19 : public ArgParser
20 {
21 public:
22 HttpupArgparser();
23 virtual ~HttpupArgparser() {}
24
25
26 static ArgParser::APCmd CMD_SYNC;
27 // static ArgParser::APCmd CMD_MIRROR;
28 static ArgParser::APCmd CMD_COPY;
29 static ArgParser::APCmd CMD_LIST;
30
31 static ArgParser::APOpt OPT_REPOFILE;
32 static ArgParser::APOpt OPT_ENCODE;
33 static ArgParser::APOpt OPT_VERIFY_MD5;
34
35 std::string getAppIdentification() const
36 { return std::string("httpup ") + MF_VERSION + "\n"; }
37
38
39 };
40
41
42 #endif /* _HTTPUPARGPARSER_H_ */
|