bincimap

Log | Files | Refs | LICENSE

framework.h (436B)


      1 #ifndef FRAMEWORK_H_INCLUDED
      2 #define FRAMEWORK_H_INCLUDED
      3 
      4 /*-*-mode:c++-*-*/
      5 #include <string>
      6 
      7 class FrameWork
      8 {
      9  public:
     10   FrameWork(const std::string &binary);
     11   ~FrameWork(void);
     12 
     13   bool test(const std::string &request, const std::string &result);
     14 
     15   static void setConfig(const std::string &section, const std::string &key, const std::string &value);
     16 
     17 
     18  private:
     19   int childspid;
     20   int readpipe[2];
     21   int writepipe[2];
     22 };
     23 
     24 #endif