common.h

changeset 30
31ff9aabd506
parent 29
55406ce7446e
child 40
215b9f8f0cd7
--- a/common.h	Mon Mar 18 18:29:02 2013 +0200
+++ b/common.h	Tue Mar 19 15:29:42 2013 +0200
@@ -1,3 +1,21 @@
+/*
+ *  LDForge: LDraw parts authoring CAD
+ *  Copyright (C) 2013 Santeri `arezey` Piippo
+ *  
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation, either version 3 of the License, or
+ *  (at your option) any later version.
+ *  
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *  
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #ifndef __COMMON_H__
 #define __COMMON_H__
 
@@ -41,6 +59,7 @@
 class LDObject;
 class bbox;
 class OpenFile;
+class QApplication;
 
 // =============================================================================
 // vertex (v)
@@ -122,6 +141,7 @@
 extern bbox g_BBox;
 extern ForgeWindow* g_qWindow;
 extern vector<OpenFile*> g_LoadedFiles;
+extern QApplication* g_qMainApp;
 
 #ifndef unix
 typedef unsigned int uint;

mercurial