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
61 lines
1.4 KiB
#ifndef __BASICENGINE_H_INCL__
|
|
#define __BASICENGINE_H_INCL__
|
|
|
|
|
|
class networkClientHandler;
|
|
/**
|
|
* TODO: Add class description
|
|
*
|
|
* @author Gagua
|
|
*/
|
|
class basicEngine {
|
|
public:
|
|
// Constructor
|
|
basicEngine();
|
|
|
|
// Destructor
|
|
virtual ~basicEngine();
|
|
|
|
// Copy constructor
|
|
// TODO: Uncomment the copy constructor when you need it.
|
|
//basicEngine(const basicEngine& src);
|
|
|
|
// Assignment operator
|
|
// TODO: Uncomment the assignment operator when you need it.
|
|
//basicEngine& operator=(const basicEngine& src);
|
|
virtual networkClientHandler * attachNewClient( int SocketID ){ return 0; };
|
|
virtual bool detachClient( networkClientHandler *ptr ){ return false; };
|
|
virtual bool start(){ return false; };
|
|
virtual bool stop( bool force = true ){ return false; };
|
|
|
|
};
|
|
|
|
// Constructor implementation
|
|
inline basicEngine::basicEngine()
|
|
{
|
|
}
|
|
|
|
// Destructor implementation
|
|
inline basicEngine::~basicEngine()
|
|
{
|
|
}
|
|
|
|
// TODO: Uncomment the copy constructor when you need it.
|
|
//inline basicEngine::basicEngine(const basicEngine& src)
|
|
//{
|
|
// // TODO: copy
|
|
//}
|
|
|
|
// TODO: Uncomment the assignment operator when you need it.
|
|
//inline basicEngine& basicEngine::operator=(const basicEngine& rhs)
|
|
//{
|
|
// if (this == &rhs) {
|
|
// return *this;
|
|
// }
|
|
//
|
|
// // TODO: assignment
|
|
//
|
|
// return *this;
|
|
//}
|
|
|
|
#endif // __BASICENGINE_H_INCL__
|