added amb1447 - IRootConsoleMenu exposure

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401889
This commit is contained in:
David Anderson
2008-02-22 16:07:27 +00:00
parent d2740940fc
commit 67442ac4a0
3 changed files with 21 additions and 6 deletions
+6 -6
View File
@@ -36,13 +36,13 @@
* @file IRootConsoleMenu.h
* @brief Defines the interface for adding options to the "sm" console command.
*
* This interface is not yet exported. It will be eventually. The initial reason should
* be obvious: we do not want users actually touching it. If we exposed this, every little
* plugin would be dropping down a silly set of user commands, and exploiting/cluttering the menu.
* Since this menu is explicitly provided for stuff that only Core itself is capable of managing,
* we won't expose it until a legitimate reason comes up.
* You must be using the compat_wrappers.h header file to use this on
* Original/Episode1 builds.
*/
#define SMINTERFACE_ROOTCONSOLE_NAME "IRootConsole"
#define SMINTERFACE_ROOTCONSOLE_VERSION 1
class CCommand;
namespace SourceMod
@@ -59,7 +59,7 @@ namespace SourceMod
/**
* @brief Manages the root console menu - the "sm" command for servers.
*/
class IRootConsole
class IRootConsole : public SMInterface
{
public:
/**