00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #include <iostream>
00015
00016 class Options
00017 {
00018 public:
00019 static Options *Options::Instance() { return i_ ? i_ : i_ = new Options; }
00020
00021 static int additionalUsage()
00022 {
00023 std::cout <<
00024 "ddt-admin is Copyright (c) 2000 of Remi Lefebvre <remi@ddts.org>\n"
00025 " Benoit Joly <benoit@ddts.org>\n"
00026 " and Luca Filipozzi <lfilipoz@ddts.org>\n"
00027 "ddt-admin comes with ABSOLUTELY NO WARRANTY and is licenced under the\n"
00028 "GNU General Public License (version 2 or later). This license can\n"
00029 "be retrieved from http://www.gnu.org/copyleft/gnu.html.\n";
00030 return 0;
00031 };
00032
00033 char *dbname;
00034 char *dbuser;
00035 char *dbpass;
00036 char *domain;
00037 char *banned;
00038 char *reserved;
00039 char *head;
00040 char *foot;
00041 char *templatePath;
00042
00043 private:
00044 static Options* i_;
00045 };