|
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: It is used by the watchers to signal its state |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __MPENGSTORAGEFACTORY_H__ |
|
21 #define __MPENGSTORAGEFACTORY_H__ |
|
22 |
|
23 // INCLUDES |
|
24 |
|
25 #include <e32def.h> |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class CPEngStorageManagerWatcher; |
|
29 class RPEngStorageClient; |
|
30 |
|
31 /** |
|
32 * Storage Manager Factory abstract interface |
|
33 * It is used by the Watcher to signal its removal |
|
34 * |
|
35 * @lib PEngStorMan2.dll |
|
36 * @since 3.0 |
|
37 */ |
|
38 |
|
39 // CLASS DECLARATION |
|
40 class MPEngStorageFactory |
|
41 { |
|
42 public: // New functions |
|
43 |
|
44 /** |
|
45 * Remove Storage watcher |
|
46 * |
|
47 * @since 3.0 |
|
48 * @param Storage watcher |
|
49 */ |
|
50 virtual void CloseStorageWatcher( |
|
51 CPEngStorageManagerWatcher* aStorageWatcher ) = 0; |
|
52 |
|
53 /** |
|
54 * Increases reference counter of Factory |
|
55 * |
|
56 * @since 3.0 |
|
57 * @param Storage watcher |
|
58 */ |
|
59 virtual void OpenWatcher() = 0; |
|
60 |
|
61 /** |
|
62 * Returns main client of the Storage Manager |
|
63 * |
|
64 * @since 3.0 |
|
65 * @param reference to the storage manager main client |
|
66 */ |
|
67 virtual RPEngStorageClient& MainClient() = 0; |
|
68 }; |
|
69 |
|
70 #endif // __MPENGSTORAGEFACTORY_H__ |
|
71 |
|
72 // End of File |