equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Telephony Multimedia Service |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef TMS_GLOBAL_ROUTING_BODY_H |
|
19 #define TMS_GLOBAL_ROUTING_BODY_H |
|
20 |
|
21 #include <tms.h> |
|
22 |
|
23 namespace TMS { |
|
24 |
|
25 // FORWARD DECLARATIONS |
|
26 class TMSGlobalRoutingObserver; |
|
27 |
|
28 // CLASS DECLARATION |
|
29 class TMSGlobalRoutingBody |
|
30 { |
|
31 public: |
|
32 virtual ~TMSGlobalRoutingBody() {} |
|
33 |
|
34 virtual gint AddObserver(TMSGlobalRoutingObserver& obsrvr, |
|
35 gpointer user_data) = 0; |
|
36 virtual gint RemoveObserver(TMSGlobalRoutingObserver& obsrvr) = 0; |
|
37 virtual gint SetOutput(const TMSAudioOutput output) = 0; |
|
38 virtual gint GetOutput(TMSAudioOutput& output) = 0; |
|
39 virtual gint GetPreviousOutput(TMSAudioOutput& output) = 0; |
|
40 virtual gint GetAvailableOutputs(OutputVector& outputs) = 0; |
|
41 }; |
|
42 |
|
43 } //namespace TMS |
|
44 |
|
45 #endif //TMS_GLOBAL_ROUTING_BODY_H |