Moved handle natives from core to logic (bug 4406 part 9, r=ds).

--HG--
rename : core/smn_handles.cpp => core/logic/smn_handles.cpp
This commit is contained in:
David Anderson
2010-05-14 21:06:06 -07:00
parent e9e4d566a5
commit c188491289
7 changed files with 22 additions and 12 deletions
+8 -1
View File
@@ -42,7 +42,7 @@
#include <sp_vm_api.h>
#define SMINTERFACE_PLUGINSYSTEM_NAME "IPluginManager"
#define SMINTERFACE_PLUGINSYSTEM_VERSION 4
#define SMINTERFACE_PLUGINSYSTEM_VERSION 5
/** Context user slot 3 is used Core for holding an IPluginContext pointer. */
#define SM_CONTEXTVAR_USER 3
@@ -206,6 +206,13 @@ namespace SourceMod
* @return Plugin's phrase collection.
*/
virtual IPhraseCollection *GetPhrases() =0;
/**
* @brief Returns a plugin's handle.
*
* @return Plugin's handle.
*/
virtual Handle_t GetMyHandle() =0;
};