src/common.h

changeset 232
4e44c92e21dd
parent 229
b9e101b76eb3
child 237
ec77f6e9a19f
equal deleted inserted replaced
231:6ee9917b79f8 232:4e44c92e21dd
108 static const bool nope = false; 108 static const bool nope = false;
109 109
110 class ForgeWindow; 110 class ForgeWindow;
111 class LDObject; 111 class LDObject;
112 class bbox; 112 class bbox;
113 class OpenFile; 113 class LDOpenFile;
114 class QApplication; 114 class QApplication;
115 115
116 // ----------------------------------------------------------------------------- 116 // -----------------------------------------------------------------------------
117 // Plural expression 117 // Plural expression
118 template<class T> static inline const char* plural (T n) { 118 template<class T> static inline const char* plural (T n) {
177 // Vertex at (0, 0, 0) 177 // Vertex at (0, 0, 0)
178 extern const vertex g_origin; 178 extern const vertex g_origin;
179 179
180 // ----------------------------------------------------------------------------- 180 // -----------------------------------------------------------------------------
181 // Pointer to the OpenFile which is currently being edited by the user. 181 // Pointer to the OpenFile which is currently being edited by the user.
182 extern OpenFile* g_curfile; 182 extern LDOpenFile* g_curfile;
183 183
184 // ----------------------------------------------------------------------------- 184 // -----------------------------------------------------------------------------
185 // Pointer to the bounding box. 185 // Pointer to the bounding box.
186 extern bbox g_BBox; 186 extern bbox g_BBox;
187 187
188 // ----------------------------------------------------------------------------- 188 // -----------------------------------------------------------------------------
189 // Vector of all currently opened files. 189 // Vector of all currently opened files.
190 extern vector<OpenFile*> g_loadedFiles; 190 extern vector<LDOpenFile*> g_loadedFiles;
191 191
192 // ----------------------------------------------------------------------------- 192 // -----------------------------------------------------------------------------
193 // Pointer to the main application. 193 // Pointer to the main application.
194 extern const QApplication* g_app; 194 extern const QApplication* g_app;
195 195

mercurial