vendor.h 452 B

12345678910111213141516171819
  1. #ifndef __VENDOR_C4_VENDOR_H__
  2. #define __VENDOR_C4_VENDOR_H__
  3. #include "vendor_base.h"
  4. #include <event.h>
  5. class Vendor : public vendor::VendorBase {
  6. public:
  7. Vendor();
  8. virtual ~Vendor();
  9. virtual int ParseCmdline(const std::string &optname, const std::string &optarg);
  10. virtual vendor::MyOpt *GetOpts();
  11. virtual int GetOptSize();
  12. virtual int Run();
  13. private:
  14. struct event_base *eventBase_;
  15. };
  16. #endif // __VENDOR_C4_VENDOR_H__