00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
#include <kapplication.h>
00014
#include <kaboutdata.h>
00015
#include <kcmdlineargs.h>
00016
#include <klocale.h>
00017
#include "bluephone.h"
00018
00019
00020
static const char description[] =
00021 I18N_NOOP(
"BluePhone - A tool to run a Sony Ericsson mobile phone from a PC.");
00022
00023
static const char version[] =
"1.0";
00024
00025
static KCmdLineOptions options[] =
00026 {
00027
00028 KCmdLineLastOption
00029 };
00030
00031
int main(
int argc,
char **argv)
00032 {
00033 KAboutData about(
"bluephone", I18N_NOOP(
"BluePhone"), version, description,
00034 KAboutData::License_GPL,
"(C) 2004 Thomas Gemperli", 0,
"http://www.gemperli.net",
"bluephone@gemperli.net");
00035 about.addAuthor(
"Thomas Gemperli", 0,
"bluephone@gemperli.net" );
00036 KCmdLineArgs::init(argc, argv, &about);
00037 KCmdLineArgs::addCmdLineOptions( options );
00038 KApplication app;
00039
BluePhone *mainWin = 0;
00040
00041 mainWin =
new BluePhone();
00042 app.setMainWidget( mainWin );
00043 mainWin->show();
00044
00045
00046
return app.exec();
00047 }
00048