|
1 /* |
|
2 * Copyright (c) 2002 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: Phone Interface. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MPHSRVPHONEINTERFACE_H |
|
20 #define MPHSRVPHONEINTERFACE_H |
|
21 |
|
22 |
|
23 // FORWARD DECLARATIONS |
|
24 class RTelServer; |
|
25 class RMobilePhone; |
|
26 class RMmCustomAPI; |
|
27 |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Phone interfaces for other classes. |
|
33 * |
|
34 * @since 1.0 |
|
35 */ |
|
36 class MPhSrvPhoneInterface |
|
37 { |
|
38 public: // New functions |
|
39 |
|
40 /** |
|
41 * Return a connection to ETel. |
|
42 * |
|
43 * @return An ETel connection. |
|
44 */ |
|
45 /***************************************************** |
|
46 * Series 60 Customer / ETel |
|
47 * Series 60 ETel API |
|
48 *****************************************************/ |
|
49 virtual RTelServer& PhSrvETelServer() = 0; |
|
50 |
|
51 /** |
|
52 * Return a connection to the phone. |
|
53 * |
|
54 * @return Phone connection. |
|
55 */ |
|
56 /***************************************************** |
|
57 * Series 60 Customer / ETel |
|
58 * Series 60 ETel API |
|
59 *****************************************************/ |
|
60 virtual RMobilePhone& PhSrvMobilePhone() = 0; |
|
61 |
|
62 /** |
|
63 * Return a connection to the phone. |
|
64 * |
|
65 * @return Phone connection. |
|
66 */ |
|
67 /***************************************************** |
|
68 * Series 60 Customer / ETel |
|
69 * Series 60 ETel API |
|
70 *****************************************************/ |
|
71 virtual RMmCustomAPI& PhSrvCustomPhone() = 0; |
|
72 }; |
|
73 |
|
74 #endif // MPHSRVPHONEINTERFACE_H |
|
75 |
|
76 |
|
77 // End of File |