summaryrefslogtreecommitdiffstats
path: root/atlantikdesigner/designer/main.cpp
blob: 19e62ec85f07872cc5bc3b7e4c64b756d8ddda37 (plain)
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
#include <kaboutdata.h>
#include <kcmdlineargs.h>
#include <klocale.h>
#include <kapplication.h>

#include "designer.h"

int main(int argc, char *argv[])
{
	KAboutData aboutData(
	           "atlantikdesigner",
	           I18N_NOOP("Atlantik Designer"), "1.1.0",
	           I18N_NOOP("Atlantik gameboard designer"),
	           KAboutData::License_GPL,
	           I18N_NOOP("(c) 2002 Jason Katz-Brown"),
	           0,
	           "http://www.unixcode.org/atlantik/"
	           );

	aboutData.addAuthor("Jason Katz-Brown", I18N_NOOP("main author"), "[email protected]", "http://katzbrown.com/");
	aboutData.addAuthor("Rob Kaper", I18N_NOOP("libatlantikui"), "[email protected]", "http://capsi.com/");

	TDECmdLineArgs::init(argc, argv, &aboutData);

	TDEApplication kapplication;

	if (kapplication.isRestored())
		RESTORE(AtlanticDesigner)
	else
	{
		AtlanticDesigner *designer = new AtlanticDesigner;
		designer->show();
	}

	return kapplication.exec();
}