added implementation to the forward manager

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40191
This commit is contained in:
David Anderson
2006-11-14 08:45:21 +00:00
parent cda9c6952d
commit 13d61ec39f
3 changed files with 134 additions and 2 deletions
+11
View File
@@ -98,6 +98,10 @@ namespace SourceMod
*/
class IForward : public ICallable
{
public:
virtual ~IForward()
{
}
public:
/**
* @brief Returns the name of the forward.
@@ -271,6 +275,13 @@ namespace SourceMod
* @return IForward pointer, or NULL if none found matching the name.
*/
virtual IForward *FindForward(const char *name, IChangeableForward **ifchng) =0;
/**
* @brief Frees and destroys a forward object.
*
* @param forward An IForward created by CreateForward() or CreateForwardEx().
*/
virtual void ReleaseForward(IForward *forward) =0;
};
};