Changeset 1852
- Timestamp:
- 21/09/2007 23:59:16 (16 months ago)
- Files:
-
- 1 modified
-
box/chris/general/lib/server/Daemon.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/chris/general/lib/server/Daemon.h
r1849 r1852 42 42 43 43 int Main(const char *DefaultConfigFile, int argc, const char *argv[]); 44 int Main(const std::string &rConfigFile); 44 45 /* override this Main() if you want custom option processing: */ 46 virtual int Main(const std::string &rConfigFile); 45 47 46 48 virtual void Run(); … … 68 70 box_time_t GetLoadedConfigModifiedTime() const; 69 71 bool IsSingleProcess() { return mSingleProcess; } 70 std::string GetOptionString();71 int ProcessOption(signed int option);72 virtual std::string GetOptionString(); 73 virtual int ProcessOption(signed int option); 72 74 73 75 private:
