diff options
Diffstat (limited to 'atlantikdesigner/designer/main.cpp')
-rw-r--r-- | atlantikdesigner/designer/main.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/atlantikdesigner/designer/main.cpp b/atlantikdesigner/designer/main.cpp new file mode 100644 index 0000000..b7dee10 --- /dev/null +++ b/atlantikdesigner/designer/main.cpp @@ -0,0 +1,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(); +} + |