summaryrefslogtreecommitdiffstats
path: root/tubes/source/collaboration.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tubes/source/collaboration.cxx')
-rw-r--r--tubes/source/collaboration.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/tubes/source/collaboration.cxx b/tubes/source/collaboration.cxx
index 846f5dc51cc7..65c24c546ec3 100644
--- a/tubes/source/collaboration.cxx
+++ b/tubes/source/collaboration.cxx
@@ -10,13 +10,18 @@
#include <tubes/collaboration.hxx>
#include <tubes/conference.hxx>
+#include <tubes/manager.hxx>
-Collaboration::Collaboration()
+Collaboration::Collaboration() :
+ mpConference( NULL ),
+ mpContacts( NULL )
{
+ TeleManager::registerCollaboration( this );
}
Collaboration::~Collaboration()
{
+ TeleManager::unregisterCollaboration( this );
if (mpConference)
mpConference->close();
}