Initial commit

This commit is contained in:
Nefarius
2014-06-22 12:45:36 +02:00
commit e4ac88dfc5
28 changed files with 5150 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef INC_SEXT_EXTENSION_H
#define INC_SEXT_EXTENSION_H
#include "sdk/smsdk_ext.h"
#include "SocketHandler.h"
class Extension : public SDKExtension, public IHandleTypeDispatch {
public:
virtual bool SDK_OnLoad(char *error, size_t err_max, bool late);
virtual void SDK_OnUnload(void);
void OnHandleDestroy(HandleType_t type, void *object);
SocketWrapper* GetSocketWrapperByHandle(Handle_t);
HandleType_t socketHandleType;
};
extern Extension extension;
#endif