--- a/src/core/ns-unknown.cc Thu May 03 10:58:08 2007 +0200
+++ b/src/core/ns-unknown.cc Thu May 03 11:01:26 2007 +0200
@@ -136,6 +136,12 @@
m_impl->Unref ();
}
+void
+NsUnknown::Dispose (void)
+{
+ // we do not do anything by default.
+}
+
void
NsUnknown::RefInternal (void)
{
--- a/src/core/ns-unknown.h Thu May 03 10:58:08 2007 +0200
+++ b/src/core/ns-unknown.h Thu May 03 11:01:26 2007 +0200
@@ -58,6 +58,8 @@
* 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