// Represent // // Douglas Thrift // // $Id$ #ifndef _Represent_hpp_ #define _Represent_hpp_ #include #ifdef MENES_PRAGMA_ONCE #pragma once #endif #include #include #include #include #include struct Environment { ext::String get(const ext::String& name) { try { return api::TheEnvironment.Get(name); } catch (ext::Exception) { return ext::String(); } } }; extern Environment env; class Represent { private: std::multimap cgi; void parse(); void headings(xml::TextWriter& xhtml); void form(xml::TextWriter& xhtml); public: Represent(); }; #endif // _Represent_hpp_