add NsUnknown::Dispose

Mathieu Lacage 2007-05-03 11:01:26 +02:00
parent 0db7be7cb8
commit 5b4433d50b
2 changed files with 8 additions and 0 deletions

View File

@ -136,6 +136,12 @@ NsUnknown::Unref (void)
m_impl->Unref ();
}
void
NsUnknown::Dispose (void)
{
// we do not do anything by default.
}
void
NsUnknown::RefInternal (void)
{

View File

@ -58,6 +58,8 @@ public:
* will be found by the same reference count.
*/
void AddInterface (NsUnknown *interface);
virtual void Dispose (void);
protected:
/**
* \param iid the Interface Id of the interface defined by a direct subclass