]> Shamusworld >> Repos - architektonas/blob - src/main.cpp
00643e10033aed347eb47caeef8233561839eea4
[architektonas] / src / main.cpp
1 //
2 // main.cpp: Architektonas implementation of the application
3 //
4 // Part of the Architektonas Project
5 // (C) 2011 Underground Software
6 // See the README and GPLv3 files for licensing and warranty information
7 //
8 // JLH = James Hammons <jlhamm@acm.org>
9 //
10 // Who  When        What
11 // ---  ----------  -------------------------------------------------------------
12 // JLH  03/22/2011  Created this file
13 //
14
15 #include "main.h"
16
17 #include <QApplication>
18 #include "applicationwindow.h"
19
20 // Main app constructor--we stick globally accessible stuff here...
21
22 Architektonas::Architektonas(int argc, char * argv[]): QApplication(argc, argv)//, charWnd(NULL)
23 {
24 }
25
26
27 // Here's the main application loop--short and simple...
28 int main(int argc, char * argv[])
29 {
30         Q_INIT_RESOURCE(architektonas); // This must the same name as the exe filename
31
32         Architektonas app(argc, argv);
33         ApplicationWindow mainWindow;
34         mainWindow.show();
35
36         return app.exec();
37 }