|
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: SId container abstract interface |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __MPENGSIDCONTAINER_H__ |
|
21 #define __MPENGSIDCONTAINER_H__ |
|
22 |
|
23 // INCLUDES |
|
24 |
|
25 #include <e32def.h> |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class CPEngObserverContainer; |
|
29 |
|
30 /** |
|
31 * Storage Id container |
|
32 * Abstract interface of one Store Id |
|
33 * |
|
34 * @lib PEngStorMan2.dll |
|
35 * @since 3.0 |
|
36 */ |
|
37 class MPEngSIdContainer |
|
38 { |
|
39 public: // New functions |
|
40 |
|
41 /** |
|
42 * Returns engaged SId |
|
43 * |
|
44 * @since 3.0 |
|
45 * @return engaged SId |
|
46 */ |
|
47 virtual const TDesC& SId() const = 0; |
|
48 |
|
49 /** |
|
50 * Add Observer container to the container array |
|
51 * |
|
52 * @since 3.0 |
|
53 * @param aObserver observer to be added |
|
54 * @return KErrNone if operation went fine |
|
55 * otherwise system wide error |
|
56 */ |
|
57 virtual TInt AddObserverContainer( |
|
58 const CPEngObserverContainer* aObserver ) = 0; |
|
59 |
|
60 /** |
|
61 * Remove Observer from the container from container array |
|
62 * |
|
63 * @since 3.0 |
|
64 * @param aObserver observer to be removed |
|
65 */ |
|
66 virtual void RemoveObserverContainer( |
|
67 const CPEngObserverContainer* aObserver ) = 0; |
|
68 |
|
69 }; |
|
70 |
|
71 #endif // __MPENGSIDCONTAINER_H__ |
|
72 |
|
73 // End of File |