1.1 --- a/public/sample_ext/sdk/smsdk_config.h Sat Nov 17 05:41:47 2007 +0000
1.2 +++ b/public/sample_ext/sdk/smsdk_config.h Sat Nov 17 05:50:09 2007 +0000
1.3 @@ -74,5 +74,6 @@
1.4 //#define SMEXT_ENABLE_PLUGINSYS
1.5 //#define SMEXT_ENABLE_ADMINSYS
1.6 //#define SMEXT_ENABLE_TEXTPARSERS
1.7 +#define SMEXT_ENABLE_USERMSGS
1.8
1.9 #endif // _INCLUDE_SOURCEMOD_EXTENSION_CONFIG_H_
2.1 --- a/public/sample_ext/sdk/smsdk_ext.cpp Sat Nov 17 05:41:47 2007 +0000
2.2 +++ b/public/sample_ext/sdk/smsdk_ext.cpp Sat Nov 17 05:50:09 2007 +0000
2.3 @@ -91,6 +91,9 @@
2.4 #if defined SMEXT_ENABLE_TEXTPARSERS
2.5 ITextParsers *textparsers = NULL;
2.6 #endif
2.7 +#if defined SMEXT_ENABLE_USERMSGS
2.8 +IUserMessages *usermsgs = NULL;
2.9 +#endif
2.10
2.11 /** Exports the main interface */
2.12 PLATFORM_EXTERN_C IExtensionInterface *GetSMExtAPI()
2.13 @@ -173,6 +176,9 @@
2.14 #if defined SMEXT_ENABLE_TEXTPARSERS
2.15 SM_GET_IFACE(TEXTPARSERS, textparsers);
2.16 #endif
2.17 +#if defined SMEXT_ENABLE_USERMSGS
2.18 + SM_GET_IFACE(USERMSGS, usermsgs);
2.19 +#endif
2.20
2.21 if (SDK_OnLoad(error, maxlength, late))
2.22 {
3.1 --- a/public/sample_ext/sdk/smsdk_ext.h Sat Nov 17 05:41:47 2007 +0000
3.2 +++ b/public/sample_ext/sdk/smsdk_ext.h Sat Nov 17 05:50:09 2007 +0000
3.3 @@ -85,6 +85,9 @@
3.4 #if defined SMEXT_ENABLE_TEXTPARSERS
3.5 #include <ITextParsers.h>
3.6 #endif
3.7 +#if defined SMEXT_ENABLE_USERMSGS
3.8 +#include <IUserMessages.h>
3.9 +#endif
3.10
3.11 #if defined SMEXT_CONF_METAMOD
3.12 #include <ISmmPlugin.h>
3.13 @@ -277,6 +280,9 @@
3.14 #if defined SMEXT_ENABLE_ADMINSYS
3.15 extern IAdminSystem *adminsys;
3.16 #endif
3.17 +#if defined SMEXT_ENABLE_USERMSGS
3.18 +extern IUserMessages *usermsgs;
3.19 +#endif
3.20
3.21 #if defined SMEXT_CONF_METAMOD
3.22 PLUGIN_GLOBALVARS();