1/*
2 Copyright (C) 1998-2001 Andreas Zehender <az@azweb.de>
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17*/
18
19#include <kapplication.h>
20#include <kcmdlineargs.h>
21#include <kaboutdata.h>
22#include <klocale.h>
23
24#include "version.h"
25#include "topwidget.h"
26
27static const char description[] = I18N_NOOP("KDE Space Game");
28
29int main(int argc,char **argv)
30{
31 KAboutData aboutData( "kspaceduel", 0, ki18n("KSpaceDuel"),
32 KSPACEDUEL_VERSION, ki18n(description), KAboutData::License_GPL,
33 ki18n("(c) 1998-2001, Andreas Zehender"), KLocalizedString(), "http://games.kde.org/kspaceduel" );
34 aboutData.addAuthor(ki18n("Andreas Zehender"),ki18n("Original Program"), "az@azweb.de");
35 aboutData.addAuthor(ki18n("Branan Riley"),ki18n("SVG Renderer"), "branan@gmail.com");
36 KCmdLineArgs::init( argc, argv, &aboutData );
37
38 KApplication myapplication;
39 KGlobal::locale()->insertCatalog( QLatin1String( "libkdegames" ));
40
41 MyTopLevelWidget *top = new MyTopLevelWidget;
42 top->show();
43 top->start();
44 return myapplication.exec();
45}
46
47