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_MODEM_SOURCE_H |
|
19 #define TMS_MODEM_SOURCE_H |
|
20 |
|
21 #include <tms.h> |
|
22 #include <tmssource.h> |
|
23 |
|
24 namespace TMS { |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class TMSModemSourceBody; |
|
28 |
|
29 /** |
|
30 * TMSModemSource class |
|
31 * |
|
32 * This class instantiates TMS mode source object. |
|
33 * |
|
34 * @lib tmsapi.lib |
|
35 * |
|
36 */ |
|
37 class TMSModemSource : public TMSSource |
|
38 { |
|
39 public: |
|
40 /** |
|
41 * Destructor |
|
42 */ |
|
43 IMPORT_C virtual ~TMSModemSource(); |
|
44 |
|
45 /** |
|
46 * Return source type. |
|
47 * |
|
48 * This function can be called at any time. |
|
49 * |
|
50 * @param sourcetype |
|
51 * The type of sink object (TMS_SOURCE_MODEM). |
|
52 * |
|
53 * @return |
|
54 * TMS_RESULT_SUCCESS if the operation was successful. |
|
55 * |
|
56 */ |
|
57 IMPORT_C virtual gint GetType(TMSSourceType& sourcetype); |
|
58 |
|
59 protected: |
|
60 /** |
|
61 * Constructor |
|
62 */ |
|
63 IMPORT_C TMSModemSource(); |
|
64 |
|
65 protected: |
|
66 TMSModemSourceBody *iBody; |
|
67 }; |
|
68 |
|
69 } //namespace TMS |
|
70 |
|
71 #endif //TMS_MODEM_SOURCE_H |
|
72 |
|
73 // End of file |
|
74 |