main.cpp
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #include <stdlib.h>
00032 #include <kdebug.h>
00033
00034 #include <klocale.h>
00035 #include <kcmdlineargs.h>
00036 #include <kaboutdata.h>
00037
00038 #include "alarmapp.h"
00039
00040 static const char* kalarmdVersion = "3.2.1";
00041 static const KCmdLineOptions options[] =
00042 {
00043 { "login", I18N_NOOP("Application is being auto-started at KDE session start"), 0L },
00044 { 0L, 0L, 0L }
00045 };
00046
00047 int main(int argc, char **argv)
00048 {
00049 KAboutData aboutData("kalarmd", I18N_NOOP("Alarm Daemon"),
00050 kalarmdVersion, I18N_NOOP("KOrganizer/KAlarm Alarm Daemon"), KAboutData::License_GPL,
00051 "(c) 1997-1999 Preston Brown\n(c) 2000-2001 Cornelius Schumacher\n(c) 2001 David Jarvie", 0L,
00052 "http://korganizer.kde.org");
00053 aboutData.addAuthor("Cornelius Schumacher",I18N_NOOP("Maintainer"),
00054 "schumacher@kde.org");
00055 aboutData.addAuthor("David Jarvie",I18N_NOOP("KAlarm Author"),
00056 "software@astrojar.org.uk");
00057 aboutData.addAuthor("Preston Brown",I18N_NOOP("Original Author"),
00058 "pbrown@kde.org");
00059
00060 KCmdLineArgs::init(argc,argv,&aboutData);
00061 KCmdLineArgs::addCmdLineOptions(options);
00062 KUniqueApplication::addCmdLineOptions();
00063
00064 if (!AlarmApp::start())
00065 exit(0);
00066
00067 AlarmApp app;
00068
00069 return app.exec();
00070 }
This file is part of the documentation for kalarmd Library Version 3.2.2.