mmserv/tms/tmsimpl/inc/tmsglobalroutingbodyimpl.h
branchRCL_3
changeset 7 3d8c721bf319
parent 0 71ca22bcf22a
--- a/mmserv/tms/tmsimpl/inc/tmsglobalroutingbodyimpl.h	Mon Mar 15 12:42:35 2010 +0200
+++ b/mmserv/tms/tmsimpl/inc/tmsglobalroutingbodyimpl.h	Wed Mar 31 22:29:45 2010 +0300
@@ -27,6 +27,7 @@
 
 // FORWARD DECLARATIONS
 class TMSGlobalRoutingObserver;
+class TMSGlobalRouting;
 class TMSProxy;
 
 // TMSGlobalRoutingBodyImpl class
@@ -34,9 +35,9 @@
     {
 public:
     static gint Create(TMSGlobalRoutingBody*& bodyimpl);
+    virtual ~TMSGlobalRoutingBodyImpl();
 
     // From TMSGlobalRoutingBody
-    virtual ~TMSGlobalRoutingBodyImpl();
     virtual gint AddObserver(TMSGlobalRoutingObserver& obsrvr,
             gpointer user_data);
     virtual gint RemoveObserver(TMSGlobalRoutingObserver& obsrvr);
@@ -45,6 +46,8 @@
     virtual gint GetPreviousOutput(TMSAudioOutput& output);
     virtual gint GetAvailableOutputs(OutputVector& outputs);
 
+    void SetParent(TMSGlobalRouting*& parent);
+
 private:
     TMSGlobalRoutingBodyImpl();
     gint PostConstruct();
@@ -56,10 +59,10 @@
     RPointerArray<TMSGlobalRoutingObserver> iObserversList; // (not owned)
     gpointer iUserData;
     TMSProxy* iProxy;
+    TMSGlobalRouting* iParent;
     };
 
 } //namespace TMS
 
 #endif // TMS_GLOBAL_ROUTING_BODY_IMPL_H
 
-// End of file