Rudiments
environment.h
1 // Copyright (c) 2003 David Muse
2 // See the COPYING file for more information.
3 
4 #ifndef RUDIMENTS_ENVIRONMENT_H
5 #define RUDIMENTS_ENVIRONMENT_H
6 
7 #include <rudiments/private/environmentincludes.h>
8 
9 #ifdef RUDIMENTS_NAMESPACE
10 namespace rudiments {
11 #endif
12 
13 class environmentprivate;
14 
17 class RUDIMENTS_DLLSPEC environment {
18  public:
20  static const char *getValue(const char *variable);
21 
27  static bool setValue(const char *variable,
28  const char *value);
29 
31  static bool remove(const char *variable);
32 
36  static const char * const *variables();
37 
41  static bool clear();
42 
44  static void print();
45 
49  static void setMutex(mutex *mtx);
50 
51  #include <rudiments/private/environment.h>
52 };
53 
54 #ifdef RUDIMENTS_NAMESPACE
55 }
56 #endif
57 
58 #endif