|
1 /* |
|
2 * Copyright (c) 2002-2005 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: Declaration of MPhoneHandlerObserver interface. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MPHONEHANDLEROBSERVER_H |
|
20 #define MPHONEHANDLEROBSERVER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32def.h> |
|
24 |
|
25 // CONSTANTS |
|
26 |
|
27 // MACROS |
|
28 |
|
29 // DATA TYPES |
|
30 |
|
31 // FUNCTION PROTOTYPES |
|
32 |
|
33 // FORWARD DECLARATIONS |
|
34 |
|
35 // CLASS DECLARATION |
|
36 |
|
37 /** |
|
38 * Interface used to notify PhoneCmdHandler objects about completed |
|
39 * asynchronous request. |
|
40 * |
|
41 * @lib PhoneCmdHandler |
|
42 * @since S60 3.1 |
|
43 */ |
|
44 class MPhoneHandlerObserver |
|
45 { |
|
46 public: // Constructors and destructor |
|
47 |
|
48 |
|
49 public: // New functions |
|
50 |
|
51 /** |
|
52 * Asynchronous request has been completed. |
|
53 * @since S60 3.1 |
|
54 * @param aError Result code of request processing. |
|
55 * @return void |
|
56 */ |
|
57 virtual void RequestCompleted( const TInt aError ) = 0; |
|
58 |
|
59 public: // Functions from base classes |
|
60 |
|
61 |
|
62 protected: // New functions |
|
63 |
|
64 |
|
65 protected: // Functions from base classes |
|
66 |
|
67 |
|
68 private: |
|
69 |
|
70 |
|
71 public: // Data |
|
72 |
|
73 protected: // Data |
|
74 |
|
75 private: // Data |
|
76 |
|
77 public: // Friend classes |
|
78 |
|
79 protected: // Friend classes |
|
80 |
|
81 private: // Friend classes |
|
82 |
|
83 }; |
|
84 |
|
85 #endif //MPHONEHANDLEROBSERVER_H |
|
86 |
|
87 // End of File |