00001
00004
00005
00006
00007
00008 #ifndef _cel_base_h_
00009 #define _cel_base_h_
00010
00011 #ifndef CELBUILD_REVISION
00012 #include "cel_revision.h"
00013 #endif // CELBUILD_REVISION
00014
00019 namespace Celartem
00020 {
00021 class String;
00022
00023 enum ProcessorArchitecture
00024 {
00025 paUnknown = 0,
00026 paPowerPC = 1,
00027 paIntelX86 = 2,
00028 paIntelEm64t = 3,
00029 paIA64 = 4,
00030 paUltraSPARC = 5,
00031 };
00032
00033 enum Platform
00034 {
00035 pfGeneric = 0,
00036 pfWindows = 1,
00037 pfMacOSX = 2,
00038 pfSolaris = 3,
00039 pfHPUX = 4,
00040 pfAIX = 5,
00041 pfFreeBSD = 6,
00042 pfCygwin = 7,
00043 };
00044
00048 struct ModuleDefinition
00049 {
00056 static unsigned int getBuildRevision();
00057
00065 static String getVersionString();
00066
00073 static ProcessorArchitecture getProcessorArchitecture();
00074
00080 static Platform getPlatform();
00081
00087 static String getPlatformSpec();
00088
00095 static String getModuleLinkedAgainstCelBaselib();
00096 };
00097
00101 struct SystemReserved
00102 {
00109 static String getSystemReservedDirectory();
00110 };
00111
00112 }
00113
00114 #endif // _cel_base_h_