1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
/*
* (C) 1999, 2000 Sirtaj Singh Kang <[email protected]>
* (C) 2000 Rik Hemsley <[email protected]>
*/
#include"kornapp.h"
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
#include <tdelocale.h>
#include"kornshell.h"
static const char description[] = I18N_NOOP("TDE mail checker");
static const char version[] = "0.4";
int main(int argc, char *argv[])
{
TDEAboutData aboutData(argv[0], I18N_NOOP("Korn"),
version, description, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1999-2004, The Korn Developers"));
aboutData.addAuthor("Sirtaj Singh Kang",0, "[email protected]");
aboutData.addAuthor("Cristian Tibirna",0, "[email protected]");
aboutData.addAuthor("Kurt Granroth",0, "[email protected]");
aboutData.addAuthor("Rik Hemsley",0, "[email protected]");
aboutData.addAuthor("Fixes by Jörg Habenicht",0, "[email protected]");
aboutData.addAuthor("Preview by Heiner Eichmann",0, "[email protected]");
aboutData.addAuthor("Mart Kelder",0,"[email protected]");
TDECmdLineArgs::init( argc, argv, &aboutData );
TDEUniqueApplication::addCmdLineOptions();
if( !TDEUniqueApplication::start() ) {
// Already running. Should pop up the preferences dialog
return 0;
}
KornApp *app = new KornApp();
KornShell *korn = new KornShell( 0, "shell" );
app->setShell( korn );
//app->enableSessionManagement( true );
//if( korn->init() ) {
korn->show();
app->exec();
//}
delete korn;
delete app;
return 0;
}
|