Time control base classes
[chessclock] / main.cpp
1 /**************************************************************************
2
3     Chess Clock
4
5     Copyright (c) Arto Hyvättinen 2010
6
7     This file is part of Chess Clock software.
8
9     Chess Clock is free software: you can redistribute it and/or modify
10     it under the terms of the GNU General Public License as published by
11     the Free Software Foundation, either version 3 of the License, or
12     (at your option) any later version.
13
14     Chess Clock is distributed in the hope that it will be useful,
15     but WITHOUT ANY WARRANTY; without even the implied warranty of
16     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17     GNU General Public License for more details.
18
19
20 **************************************************************************/
21
22
23 /*! @mainpage Chess Clock
24
25   @author Arto Hyvättinen
26   @version 0.1.0
27
28
29     Chess Clock
30
31     Game clock for chess players with N900. Support many game controls.
32
33     Copyright © Arto Hyvättinen 2010
34
35     Chess Clock is free software: you can redistribute it and/or modify
36     it under the terms of the GNU General Public License as published by
37     the Free Software Foundation, either version 3 of the License, or
38     (at your option) any later version.
39
40     Chess Clock is distributed in the hope that it will be useful,
41     but WITHOUT ANY WARRANTY; without even the implied warranty of
42     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
43     GNU General Public License for more details.
44
45
46
47   */
48
49
50 #include <QtGui/QApplication>
51 #include "chessclockwindow.h"
52
53 int main(int argc, char *argv[])
54 {
55     QApplication a(argc, argv);
56     a.setApplicationName( a.tr("Chess Clock","Application name") );
57     a.setOrganizationName("Chess Clock");
58     a.setOrganizationDomain("chessclock.garage.maemo.org");
59     a.setApplicationVersion("0.1.0");
60
61     ChessClockWindow w;
62
63 #if defined(Q_WS_S60)
64     w.showMaximized();
65 #else
66     w.show();
67 #endif
68
69     return a.exec();
70 }