/*************************************************************************** * Main. * * -------------------------------------------------------------------- * * Copyright (C) 1999, Gary Meyer * * -------------------------------------------------------------------- * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * ***************************************************************************/ #include #include #include "ktapp.h" #include #include int main(int argc, char* argv[]) { static const char description[] = I18N_NOOP("TDE Task Scheduler"); KAboutData aboutData("kcron", I18N_NOOP("KCron"), VERSION, description, KAboutData::License_GPL, "(c) 1999-2000, Gary Meyer"); aboutData.addAuthor("Gary Meyer", 0, "gary@meyer.net"); aboutData.addAuthor("Robert Berry", 0, "rjmber@ntlworld.com"); aboutData.addAuthor("James Ots", 0, "code@jamesots.com"); aboutData.addAuthor("Alberto G. Hierro", 0, "alberto.hierro@kdemail.net"); TDECmdLineArgs::init(argc, argv, &aboutData); TDEApplication app; if (app.isRestored()) { RESTORE(KTApp); } else { KTApp* kcron = new KTApp; if (!kcron->init()) return 1; kcron->show(); } return app.exec(); }