equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004 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: LandmarksUi Content File - Interface for active object observers |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 #ifndef MLMKAOOPERATIONOBSERVER_H |
|
25 #define MLMKAOOPERATIONOBSERVER_H |
|
26 |
|
27 // INCLUDES |
|
28 #include <e32base.h> |
|
29 |
|
30 // FORWARD DECLARATIONS |
|
31 class CLmkAOOperation; |
|
32 |
|
33 // CLASS DECLARATION |
|
34 |
|
35 /** |
|
36 * MLmkAOOperationObserver class |
|
37 */ |
|
38 class MLmkAOOperationObserver |
|
39 { |
|
40 public: //types |
|
41 enum TOperationTypes |
|
42 { |
|
43 EDeleteCategories, |
|
44 EDeleteLandmarks, |
|
45 EAddToCategory, |
|
46 EChangeIcons, |
|
47 ESearch, |
|
48 EParse, |
|
49 EImport, |
|
50 EEncode, |
|
51 EInitialize, |
|
52 ECompact, |
|
53 EInitAndCompact, // combined init and compact operation |
|
54 ENewPkgCategory, |
|
55 ERemoveCategory |
|
56 }; |
|
57 |
|
58 |
|
59 public: // New functions |
|
60 /** |
|
61 * Virtual method for handling operation. |
|
62 * @param aType |
|
63 * @param aProgress |
|
64 * @param aStatus completion code |
|
65 */ |
|
66 virtual void HandleOperationL( TOperationTypes aType, |
|
67 TReal32 aProgress, |
|
68 TInt aStatus ) = 0; |
|
69 }; |
|
70 |
|
71 #endif // MLMKAOOPERATIONOBSERVER_H |
|
72 |
|
73 // End of File |