equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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: QT Bindings for TMS |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef QTMS_MODEM_SOURCE_H |
|
19 #define QTMS_MODEM_SOURCE_H |
|
20 |
|
21 #include <qtms.h> |
|
22 #include <qtmssource.h> |
|
23 #include <QObject> |
|
24 #include "qtmswrapperexport.h" |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 namespace TMS |
|
28 { |
|
29 class TMSSource; |
|
30 } |
|
31 |
|
32 namespace QTMS |
|
33 { |
|
34 |
|
35 /** |
|
36 * QTMSModemSource class |
|
37 * |
|
38 * This class instantiates QTMS mode source object. |
|
39 * |
|
40 * @lib QTMSapi.lib |
|
41 * |
|
42 */ |
|
43 class QTMS_WRAPPER_DLL_EXPORT QTMSModemSource : public QObject, |
|
44 public QTMSSource |
|
45 { |
|
46 Q_OBJECT |
|
47 public: |
|
48 /** |
|
49 * Destructor |
|
50 */ |
|
51 virtual ~QTMSModemSource(); |
|
52 |
|
53 /** |
|
54 * Return source type. |
|
55 * |
|
56 * This function can be called at any time. |
|
57 * |
|
58 * @param sourcetype |
|
59 * The type of sink object (QTMS_SOURCE_MODEM). |
|
60 * |
|
61 * @return |
|
62 * QTMS_RESULT_SUCCESS if the operation was successful. |
|
63 * |
|
64 */ |
|
65 virtual gint GetType(QTMSSourceType& sourcetype); |
|
66 |
|
67 protected: |
|
68 /** |
|
69 * Constructor |
|
70 */ |
|
71 QTMSModemSource(); |
|
72 |
|
73 protected: |
|
74 TMS::TMSSource *iSource; |
|
75 }; |
|
76 |
|
77 } //namespace QTMS |
|
78 |
|
79 #endif //QTMS_MODEM_SOURCE_H |
|
80 // End of file |
|
81 |