summaryrefslogtreecommitdiff
path: root/httpupargparser.h
blob: 63717bb30d448a17165d9a44df50a288374848f9 (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     static ArgParser::APOpt OPT_INSECURE_SSL;
   35 
   36     std::string getAppIdentification() const
   37         { return std::string("httpup ")  + MF_VERSION + "\n"; }
   38 
   39 
   40 };
   41 
   42 
   43 #endif /* _HTTPUPARGPARSER_H_ */

Generated by cgit