TinkerCell Core 1.0
TinkerCell's Core library providing all basic functionalities
GlobalSettings.h
Go to the documentation of this file.
00001 #ifndef TINKERCELL_GLOBALSETTINGS_H
00002 #define TINKERCELL_GLOBALSETTINGS_H
00003 
00004 #include <QString>
00005 #include <QStringList>
00006 
00007 #ifndef TINKERCELLCOREEXPORT
00008 #ifdef Q_WS_WIN
00009 #   if defined(TC_EXPORTS) || defined(TinkerCellCore_EXPORTS)
00010 #       define TINKERCELLCOREEXPORT __declspec(dllexport)
00011 #   else
00012 #       define TINKERCELLCOREEXPORT __declspec(dllimport)
00013 #   endif
00014 #else
00015 #    define TINKERCELLCOREEXPORT
00016 #endif
00017 #endif
00018 
00019 namespace Tinkercell
00020 {
00038         class TINKERCELLCOREEXPORT GlobalSettings
00039         {
00040         public:
00042                 static bool ENABLE_HISTORY_WINDOW;
00043                 
00045                 static bool ENABLE_CONSOLE_WINDOW;
00046                 
00048                 static bool ENABLE_GRAPHING_TOOLS;
00049                 
00051                 static bool ENABLE_CODING_TOOLS;
00052                 
00054                 static bool ENABLE_ALIGNMENT_MENU;
00055                 
00057                 static bool ENABLE_COLOR_TOOLBAR;
00058                 
00060                 static bool ENABLE_ZOOM_TOOLBAR;
00061                 
00063                 static bool ENABLE_TEXT_TOOLBAR;
00064                 
00066                 static bool ENABLE_PYTHON;
00067                 
00069                 static bool ENABLE_OCTAVE;
00070 
00072                 static bool ENABLE_RUBY;
00073                 
00075                 static bool ENABLE_LOADSAVE_TOOL;
00076 
00078                 static QString PROJECTWEBSITE;
00079                 
00081                 static QString ORGANIZATIONNAME;
00082 
00084                 static QString PROJECTNAME;
00085 
00087                 static QString PROJECTICON;
00088 
00090                 static QString CPP_ENTRY_FUNCTION;
00091 
00093                 static QString C_ENTRY_FUNCTION;
00094 
00096                 static QString PROJECT_VERSION;
00097                 
00100                 static QString PROGRAM_MODE;
00101 
00103                 static QStringList OPEN_FILE_EXTENSIONS;
00104 
00106                 static QStringList SAVE_FILE_EXTENSIONS;
00107                 
00109                 static bool DO_SVN_UPDATE;
00110                 
00112                 static QString PLUGINS_SVN_URL;
00113 
00115                 static void RegisterDataTypes();
00116 
00120                 static QString homeDir();
00124                 static QString tempDir();
00125 
00126         };
00127 }
00128 
00129 #endif
00130 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines