|
1 /* |
|
2 * Copyright (c) 2007-2008 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: This file contains the header file of the MIAUpdateUiControllerObserver class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef IAUPDATEUICONTROLLEROBSERVER_H |
|
21 #define IAUPDATEUICONTROLLEROBSERVER_H |
|
22 |
|
23 class MIAUpdateNode; |
|
24 |
|
25 class MIAUpdateUiControllerObserver |
|
26 { |
|
27 public: // Observer API |
|
28 |
|
29 /** |
|
30 * Called when async engine start-up is completed |
|
31 * |
|
32 * @param aError Error code |
|
33 */ |
|
34 virtual void StartupComplete( TInt aError ) = 0; |
|
35 |
|
36 /** |
|
37 * Handles leave error. Possible async client request to be completed |
|
38 * |
|
39 * @param aError Error code |
|
40 */ |
|
41 virtual void HandleLeaveErrorL( TInt aError ) = 0; |
|
42 |
|
43 /** |
|
44 * Handles leave error without leaving. |
|
45 * Possible async client request to be completed |
|
46 * |
|
47 * @param aError Error code |
|
48 */ |
|
49 virtual void HandleLeaveErrorWithoutLeave( TInt aError ) = 0; |
|
50 |
|
51 /** |
|
52 * Called when async update list refresh is completed |
|
53 * |
|
54 * @param aError Error code |
|
55 */ |
|
56 virtual void RefreshCompleteL( TBool aWithViewActivation, TInt aError ) = 0; |
|
57 |
|
58 /** |
|
59 * Called when async updating is completed |
|
60 */ |
|
61 virtual void UpdateCompleteL( TInt aError ) = 0; |
|
62 |
|
63 }; |
|
64 |
|
65 #endif // IAUPDATEUICONTROLLEROBSERVER_H |