1.1 --- a/core/interfaces/IForwardSys.h Mon Nov 13 13:55:44 2006 +0000
1.2 +++ b/core/interfaces/IForwardSys.h Tue Nov 14 08:45:21 2006 +0000
1.3 @@ -99,6 +99,10 @@
1.4 class IForward : public ICallable
1.5 {
1.6 public:
1.7 + virtual ~IForward()
1.8 + {
1.9 + }
1.10 + public:
1.11 /**
1.12 * @brief Returns the name of the forward.
1.13 *
1.14 @@ -271,6 +275,13 @@
1.15 * @return IForward pointer, or NULL if none found matching the name.
1.16 */
1.17 virtual IForward *FindForward(const char *name, IChangeableForward **ifchng) =0;
1.18 +
1.19 + /**
1.20 + * @brief Frees and destroys a forward object.
1.21 + *
1.22 + * @param forward An IForward created by CreateForward() or CreateForwardEx().
1.23 + */
1.24 + virtual void ReleaseForward(IForward *forward) =0;
1.25 };
1.26 };
1.27