Rudiments
|
00001 // Copyright (c) 2003 David Muse 00002 // See the COPYING file for more information. 00003 00004 #ifndef RUDIMENTS_ENVIRONMENT_H 00005 #define RUDIMENTS_ENVIRONMENT_H 00006 00007 #include <rudiments/private/environmentincludes.h> 00008 00009 #ifdef RUDIMENTS_NAMESPACE 00010 namespace rudiments { 00011 #endif 00012 00013 class environmentprivate; 00014 00017 class RUDIMENTS_DLLSPEC environment { 00018 public: 00020 static const char *getValue(const char *variable); 00021 00027 static bool setValue(const char *variable, 00028 const char *value); 00029 00031 static bool remove(const char *variable); 00032 00036 static const char * const *variables(); 00037 00041 static bool clear(); 00042 00044 static void print(); 00045 00049 static void setMutex(mutex *mtx); 00050 00051 #include <rudiments/private/environment.h> 00052 }; 00053 00054 #ifdef RUDIMENTS_NAMESPACE 00055 } 00056 #endif 00057 00058 #endif