ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FeepingCreaturism/Environment.hpp
Revision: 243
Committed: 2004-09-11T21:27:10-07:00 (20 years, 9 months ago) by Douglas Thrift
File size: 464 byte(s)
Log Message:
Meep!

File Contents

# User Rev Content
1 Douglas Thrift 194 // Feeping Creaturism
2     //
3     // Douglas Thrift
4     //
5     // $Id$
6    
7     #ifndef _Environment_hpp_
8     #define _Environment_hpp_
9    
10     #include "FeepingCreaturism.hpp"
11    
12     struct Environment
13     {
14 Douglas Thrift 203 ext::String get(const ext::String& name) const;
15     int set(const ext::String& name, const ext::String& value,
16 Douglas Thrift 194 bool overwrite = true);
17 Douglas Thrift 203 int put(const ext::String& env);
18 Douglas Thrift 243 void unset(const ext::String& name) { ::unsetenv(name.NullTerminate()); }
19 Douglas Thrift 194 };
20    
21     extern Environment env;
22    
23     #endif // _Environment_hpp_

Properties

Name Value
svn:eol-style native
svn:keywords Id