summaryrefslogtreecommitdiffstats
path: root/atlantikdesigner/designer/main.cpp
blob: ca8033f9276f3df4595b980957f59f565f15fb90 (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[])
{
	TDEAboutData aboutData(
	           "atlantikdesigner",
	           I18N_NOOP("Atlantik Designer"), "1.1.0",
	           I18N_NOOP("Atlantik gameboard designer"),
	           TDEAboutData::License_GPL,
	           I18N_NOOP("(c) 2002 Jason Katz-Brown"),
	           0,
	           "http://www.unixcode.org/atlantik/"
	           );

	aboutData.addAuthor("Jason Katz-Brown", I18N_NOOP("main author"), "jason@katzbrown.com", "http://katzbrown.com/");
	aboutData.addAuthor("Rob Kaper", I18N_NOOP("libatlantikui"), "cap@capsi.com", "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();
}