00001 #include "xgi/Utils.h" 00002 #include "xgi/Method.h" 00003 #include "cgicc/HTMLClasses.h" 00004 00005 class CgiWriter 00006 { 00007 private: 00008 00009 xgi::Output * out; 00010 std::string contextURL; 00011 00012 public: 00013 00014 CgiWriter(xgi::Output * the_out, std::string the_contextURL) 00015 { 00016 out = the_out; 00017 contextURL = the_contextURL; 00018 std::cout << "Created a CgiWriter! ContextURL=" << contextURL << std::endl; 00019 } 00020 00021 ~CgiWriter(){} 00022 00023 void output_preamble(); 00024 void output_head(); 00025 void output_finish(); 00026 };