00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include <kcmdlineargs.h>
00019 #include <kaboutdata.h>
00020 #include <klocale.h>
00021
00022 #include "kdeuniquecelestia.h"
00023
00024 static const char *description =
00025 I18N_NOOP("Celestia");
00026
00027
00028
00029 static KCmdLineOptions options[] =
00030 {
00031 { "conf <file>", I18N_NOOP("Use alternate configuration file"), 0 },
00032 { "dir <directory>", I18N_NOOP("Use alternate installation directory"), 0 },
00033 { "extrasdir <directory>", I18N_NOOP("Use as additional \"extras\" directory"), 0 },
00034 { "fullscreen", I18N_NOOP("Start fullscreen"), 0 },
00035 { "s", 0, 0 },
00036 { "nosplash", I18N_NOOP("Disable splash screen"), 0 },
00037 { "+[url]", I18N_NOOP("Start and go to url"), 0},
00038 { 0, 0, 0 }
00039 };
00040
00041 int main(int argc, char *argv[])
00042 {
00043 KAboutData aboutData( "celestia", I18N_NOOP("Celestia"),
00044 VERSION, description, KAboutData::License_GPL,
00045 "(c) 2002, Chris Laurel", 0, "http://www.shatters.net/celestia/", "chris@teyssier.org");
00046 aboutData.addAuthor("Chris Laurel",0, "claurel@shatters.net");
00047 aboutData.addAuthor("Clint Weisbrod",0, "cweisbrod@adelphia.net");
00048 aboutData.addAuthor("Fridger Schrempp",0, "t00fri@mail.desy.de");
00049 aboutData.addAuthor("Bob Ippolito", "Mac OS X version", "bob@redivi.com");
00050 aboutData.addAuthor("Hank Ramsey", "Mac OS X version");
00051 aboutData.addAuthor("Christophe Teyssier", "KDE interface", "chris@teyssier.org");
00052
00053 aboutData.addCredit("Frank Gregorio", "Celestia User's Guide");
00054 aboutData.addCredit("Hitoshi Suzuki", "Japanese README translation");
00055 aboutData.addCredit("Christophe Teyssier", "DocBook and HTML conversion of User's Guide", "chris@teyssier.org");
00056 aboutData.addCredit("Diego Rodriguez", "Acrobat conversion of User's Guide");
00057
00058 aboutData.addCredit("Deon Ramsey", "Unix installer, GTK interface");
00059 aboutData.addCredit("Christophe André", "Eclipse finder and rendering of orbits", "kendrix@wanadoo.fr");
00060 aboutData.addCredit("Colin Walters", "Endianness fixes");
00061 aboutData.addCredit("Peter Chapman", "Orbit path rendering changes");
00062 aboutData.addCredit("James Holmes");
00063 aboutData.addCredit("Harald Schmidt", "Lua scripting enhancements, bug fixes");
00064
00065 KCmdLineArgs::init( argc, argv, &aboutData );
00066 KCmdLineArgs::addCmdLineOptions( options );
00067 KUniqueApplication::addCmdLineOptions();
00068
00069 KdeUniqueCelestia a;
00070
00071 return a.exec();
00072 }