You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.4 KiB

7 years ago
​
​
​
7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __BASICENGINE_H_INCL__
  2. #define __BASICENGINE_H_INCL__
  3. class networkClientHandler;
  4. /**
  5. * TODO: Add class description
  6. *
  7. * @author Gagua
  8. */
  9. class basicEngine {
  10. public:
  11. // Constructor
  12. basicEngine();
  13. // Destructor
  14. virtual ~basicEngine();
  15. // Copy constructor
  16. // TODO: Uncomment the copy constructor when you need it.
  17. //basicEngine(const basicEngine& src);
  18. // Assignment operator
  19. // TODO: Uncomment the assignment operator when you need it.
  20. //basicEngine& operator=(const basicEngine& src);
  21. virtual networkClientHandler * attachNewClient( int SocketID ){ return 0; };
  22. virtual bool detachClient( networkClientHandler *ptr ){ return false; };
  23. virtual bool start(){ return false; };
  24. virtual bool stop( bool force = true ){ return false; };
  25. };
  26. // Constructor implementation
  27. inline basicEngine::basicEngine()
  28. {
  29. }
  30. // Destructor implementation
  31. inline basicEngine::~basicEngine()
  32. {
  33. }
  34. // TODO: Uncomment the copy constructor when you need it.
  35. //inline basicEngine::basicEngine(const basicEngine& src)
  36. //{
  37. // // TODO: copy
  38. //}
  39. // TODO: Uncomment the assignment operator when you need it.
  40. //inline basicEngine& basicEngine::operator=(const basicEngine& rhs)
  41. //{
  42. // if (this == &rhs) {
  43. // return *this;
  44. // }
  45. //
  46. // // TODO: assignment
  47. //
  48. // return *this;
  49. //}
  50. #endif // __BASICENGINE_H_INCL__