25 |
25 |
26 namespace TMS { |
26 namespace TMS { |
27 |
27 |
28 // FORWARD DECLARATIONS |
28 // FORWARD DECLARATIONS |
29 class TMSGlobalRoutingObserver; |
29 class TMSGlobalRoutingObserver; |
|
30 class TMSGlobalRouting; |
30 class TMSProxy; |
31 class TMSProxy; |
31 |
32 |
32 // TMSGlobalRoutingBodyImpl class |
33 // TMSGlobalRoutingBodyImpl class |
33 class TMSGlobalRoutingBodyImpl : public TMSGlobalRoutingBody |
34 class TMSGlobalRoutingBodyImpl : public TMSGlobalRoutingBody |
34 { |
35 { |
35 public: |
36 public: |
36 static gint Create(TMSGlobalRoutingBody*& bodyimpl); |
37 static gint Create(TMSGlobalRoutingBody*& bodyimpl); |
|
38 virtual ~TMSGlobalRoutingBodyImpl(); |
37 |
39 |
38 // From TMSGlobalRoutingBody |
40 // From TMSGlobalRoutingBody |
39 virtual ~TMSGlobalRoutingBodyImpl(); |
|
40 virtual gint AddObserver(TMSGlobalRoutingObserver& obsrvr, |
41 virtual gint AddObserver(TMSGlobalRoutingObserver& obsrvr, |
41 gpointer user_data); |
42 gpointer user_data); |
42 virtual gint RemoveObserver(TMSGlobalRoutingObserver& obsrvr); |
43 virtual gint RemoveObserver(TMSGlobalRoutingObserver& obsrvr); |
43 virtual gint SetOutput(const TMSAudioOutput output); |
44 virtual gint SetOutput(const TMSAudioOutput output); |
44 virtual gint GetOutput(TMSAudioOutput& output); |
45 virtual gint GetOutput(TMSAudioOutput& output); |
45 virtual gint GetPreviousOutput(TMSAudioOutput& output); |
46 virtual gint GetPreviousOutput(TMSAudioOutput& output); |
46 virtual gint GetAvailableOutputs(OutputVector& outputs); |
47 virtual gint GetAvailableOutputs(OutputVector& outputs); |
|
48 |
|
49 void SetParent(TMSGlobalRouting*& parent); |
47 |
50 |
48 private: |
51 private: |
49 TMSGlobalRoutingBodyImpl(); |
52 TMSGlobalRoutingBodyImpl(); |
50 gint PostConstruct(); |
53 gint PostConstruct(); |
51 |
54 |