You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.6 KiB
40 lines
1.6 KiB
15 years ago
|
/***************************************************************************
|
||
|
main.cpp - Implementation of the main window
|
||
|
-------------------
|
||
|
copyright : (C) 2002 by Gav Wood
|
||
|
email : gav@kde.org
|
||
|
***************************************************************************/
|
||
|
|
||
|
// This program is free software.
|
||
|
|
||
12 years ago
|
#include <tdelocale.h>
|
||
12 years ago
|
#include <tdecmdlineargs.h>
|
||
13 years ago
|
#include <twin.h>
|
||
12 years ago
|
#include <tdeaboutdata.h>
|
||
12 years ago
|
#include <tdeglobal.h>
|
||
15 years ago
|
#include <kdebug.h>
|
||
|
#include <kuniqueapplication.h>
|
||
|
|
||
|
#include "irkick.h"
|
||
|
|
||
|
extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
|
||
|
{
|
||
12 years ago
|
TDEAboutData *aboutData = new TDEAboutData("irkick", I18N_NOOP("IRKick"), VERSION, I18N_NOOP("The TDE Infrared Remote Control Server"), TDEAboutData::License_GPL, "(c) 2003, Gav Wood", 0, 0, "gav@kde.org");
|
||
15 years ago
|
aboutData->addAuthor("Gav Wood", I18N_NOOP("Author"), "gav@kde.org", "http://www.indigoarchive.net/gav/");
|
||
|
aboutData->addCredit("Malte Starostik", I18N_NOOP("Original LIRC interface code"), "malte.starostik@t-online.de");
|
||
|
aboutData->addCredit("Dirk Ziegelmeier", I18N_NOOP("Ideas, concept code"), "dirk@ziegelmeier.net");
|
||
|
aboutData->addCredit("Zsolt Rizsanyi", I18N_NOOP("Random patches"), "rizsanyi@myrealbox.com");
|
||
|
aboutData->addCredit("Antonio Larrosa Jiménez", I18N_NOOP("Ideas"), "larrosa@kde.org");
|
||
|
|
||
12 years ago
|
TDECmdLineArgs::init( argc, argv, aboutData );
|
||
15 years ago
|
KUniqueApplication::addCmdLineOptions();
|
||
|
KUniqueApplication app;
|
||
12 years ago
|
TDEGlobal::locale()->insertCatalogue( "tdelirc" );
|
||
15 years ago
|
app.disableSessionManagement();
|
||
|
IRKick *theIRKick = new IRKick("IRKick");
|
||
|
|
||
|
int ret = app.exec();
|
||
|
delete theIRKick;
|
||
|
return ret;
|
||
|
}
|