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_CLIENT_SINK_BODY_H |
|
19 #define TMS_CLIENT_SINK_BODY_H |
|
20 |
|
21 #include <tms.h> |
|
22 |
|
23 namespace TMS { |
|
24 |
|
25 // FORWARD DECLARATIONS |
|
26 class TMSClientSinkObserver; |
|
27 class TMSBuffer; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 class TMSClientSinkBody |
|
31 { |
|
32 public: |
|
33 virtual ~TMSClientSinkBody() {} |
|
34 |
|
35 virtual gint AddObserver(TMSClientSinkObserver& obsrvr, |
|
36 gpointer user_data) = 0; |
|
37 virtual gint RemoveObserver(TMSClientSinkObserver& obsrvr) = 0; |
|
38 |
|
39 // Push mode |
|
40 virtual gint BufferProcessed(TMSBuffer* buffer) = 0; |
|
41 |
|
42 virtual gint GetType(TMSSinkType& Sinktype) = 0; |
|
43 }; |
|
44 |
|
45 } //namespace TMS |
|
46 |
|
47 #endif //TMS_CLIENT_SINK_BODY_H |