ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Represent/Represent.hpp
(Generate patch)

Comparing Represent/Represent.hpp (file contents):
Revision 380 by douglas, 2004-12-23T01:07:33-08:00 vs.
Revision 384 by douglas, 2004-12-23T01:40:10-08:00

# Line 14 | Line 14
14   #endif
15  
16   #include <menes-api/console.hpp>
17 + #include <menes-api/environment.hpp>
18   #include <menes-ios/string.hpp>
19   #include <menes-xml/textwriter.hpp>
20  
21   #include <map>
22  
23 + struct Environment
24 + {
25 +        ext::String get(const ext::String& name) { try { return api::TheEnvironment.Get(name); } catch (ext::Exception) { return ext::String(); } }
26 + };
27 +
28 + extern Environment env;
29 +
30   class Represent
31   {
32   private:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines