ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FeepingCreaturism/Environment.hpp
Revision: 194
Committed: 2004-08-27T01:21:18-07:00 (20 years, 9 months ago) by Douglas Thrift
File size: 454 byte(s)
Log Message:
Worky, worky!

File Contents

# Content
1 // 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 std::string get(const std::string& name) const;
15 int set(const std::string& name, const std::string& value,
16 bool overwrite = true);
17 int put(const std::string& env);
18 void unset(const std::string& name) { unsetenv(name.c_str()); }
19 };
20
21 extern Environment env;
22
23 #endif // _Environment_hpp_

Properties

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