root/trunk/globals.h

Revision 5, 1.0 kB (checked in by qbert, 6 years ago)

Initial ( and last :( ) commit

Line 
1 #ifndef GLOBALS_H
2 #define GLOBALS_H
3
4 #include "ElSettings/ProjectSettings.h"
5 #include "Elsettings/elephantsettings.h"
6
7 #include "stdincludes.h"
8 #include "registry.h"
9 #include "Elephant.h"
10 #include "ElephantParser/ElephantParser/eparser.h"
11 #include "proxyparser.h"
12 #include "CompilerClass/compilerclass.h"
13 #include "logging.h"
14
15
16
17 class Globals {
18
19 public:
20     //instantiated in Elephant.cpp
21     static string installPath;
22     static ElephantSettings* settings;
23     static CElephantApp theApp;
24     static ProjectSettings* currentProject;
25     static RecentViews recentViews;
26     static ProxyParser * proxyParser;
27     static DMDCompiler * compiler;
28     static BuildCompiler * buildCompiler;
29     static Logger* logger;
30     static string lastDir ;
31     //static SplashScreens * splashScreens;
32     //static ElephantParser* parser;
33    
34 public: 
35     static bool Restore( );
36
37     static void Save()
38     {
39         delete settings;
40     }
41
42     static void SetProject(ProjectSettings* p);
43
44
45
46 };
47
48
49 #endif
Note: See TracBrowser for help on using the browser.