bump up
[mancala] / src / main.cpp
1 /*
2 Mancala - A Historical Board Game
3 Copyright (C) 2009-2010 A.H.M.Mahfuzur Rahman 65mahfuz90@gmail.com
4 Copyright (c) 2010 Reto Zingg g.d0b3rm4n@gmail.com
5
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License as
8 published by the Free Software Foundation; either version 2 of
9 the License, or (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #include <QtGui/QApplication>
21
22 //#include <kapplication.h>
23 //#include <kaboutdata.h>
24 //#include <kcmdlineargs.h>
25 //#include <KDE/KLocale>
26 //#include <KGlobal>
27
28 #include "MainWindow.h"
29
30 static const char description[] = "Mancala Game for KDE";
31
32 static const char version[] = "0.2";
33
34
35 int main(int argc, char *argv[]){
36 //    KAboutData about("mancala", 0, ki18n("Mancala"), version, ki18n(description),
37 //                     KAboutData::License_GPL, ki18n("(C) 2009 A.H.M. Mahfuzur Rahman"),
38 //                     KLocalizedString(), 0, "65mahfuz90@gmail.com");
39
40 //    about.addAuthor( ki18n("A.H.M.Mahfuzur Rahman"), ki18n("Current Maintainer"), "65mahfuz90@gmail.com" );
41 //    about.addCredit(ki18n("Tomaz Canabrava"),
42 //                        ki18n("Coding help"), "tomaz.canabrava@gmail.com ");
43
44 //    KCmdLineArgs::init(argc, argv, &about);
45
46 //    KApplication app;
47 //    KGlobal::locale()->insertCatalog("libkdegames");
48
49     QApplication a(argc, argv);
50
51     MainWindow *window = new MainWindow();
52     QSize oldSize = window->size();
53     window->show();
54     window->resize(100,100);
55     window->resize(oldSize);
56
57     return a.exec();
58
59 }