summaryrefslogtreecommitdiffstats
path: root/atlantikdesigner/designer/main.cpp
blob: b7dee101bab521850c28c78a6e1b66684715fc7f (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/");

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

	KApplication kapplication;

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

	return kapplication.exec();
}