00001 #ifndef SiPixelHistoricInfoClient_WebInterface_h 00002 #define SiPixelHistoricInfoClient_WebInterface_h 00003 00004 00005 #include "DQMServices/WebComponents/interface/WebInterface.h" 00006 00007 00008 class SiPixelHistoricInfoWebInterface : public WebInterface { 00009 public: 00010 SiPixelHistoricInfoWebInterface(std::string theContextURL, 00011 std::string theApplicationURL, 00012 DQMOldReceiver** _mui_p); 00013 ~SiPixelHistoricInfoWebInterface(); 00014 00015 void handleCustomRequest(xgi::Input* in, xgi::Output* out) throw (xgi::exception::Exception); 00016 void handleEDARequest(xgi::Input* in, xgi::Output* out); 00017 00018 bool getSaveToFile() const { return savetoFile_; }; 00019 void setSaveToFile(bool flag) { savetoFile_ = flag; }; 00020 00021 bool getWriteToDB() const { return writetoDB_; }; 00022 void setWriteToDB(bool flag) { writetoDB_ = flag; }; 00023 00024 private: 00025 bool savetoFile_; 00026 bool writetoDB_; 00027 std::multimap<std::string, std::string> request_multimap; 00028 }; 00029 00030 00031 #endif