|
1 /* |
|
2 * Copyright (c) 2002-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: Declaration for MMMCScBkupDriver |
|
15 * |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef __MMMCSCBKUPDRIVER_H__ |
|
20 #define __MMMCSCBKUPDRIVER_H__ |
|
21 |
|
22 // System includes |
|
23 #include <connect/sbeclient.h> |
|
24 |
|
25 // User includes |
|
26 #include "MMCScBkupStateIds.h" |
|
27 #include "MMCScBkupOperations.h" |
|
28 #include "CMMCScBkupOperationParameters.h" |
|
29 |
|
30 // Classes referenced |
|
31 class CMMCScBkupState; |
|
32 class CMMCScBkupArchive; |
|
33 class MMMCScBkupProgressObserver; |
|
34 class CMMCScBkupDataOwnerCollection; |
|
35 class CMMCScBkupFileListCollection; |
|
36 class MMMCScBkupArchiveDataInterface; |
|
37 |
|
38 // Namespaces |
|
39 using namespace conn; |
|
40 |
|
41 |
|
42 /** |
|
43 * |
|
44 * |
|
45 * @since 3.0 |
|
46 */ |
|
47 class MMMCScBkupDriver |
|
48 { |
|
49 public: // From MMMCScBkupDriver |
|
50 |
|
51 /** |
|
52 * |
|
53 */ |
|
54 virtual MMMCScBkupArchiveDataInterface& DrvADI() const = 0; |
|
55 |
|
56 /** |
|
57 * |
|
58 */ |
|
59 virtual CMMCScBkupArchive& DrvArchive() const = 0; |
|
60 |
|
61 /** |
|
62 * |
|
63 */ |
|
64 virtual CSBEClient& DrvSecureBackupClient() const = 0; |
|
65 |
|
66 /** |
|
67 * |
|
68 */ |
|
69 virtual TMMCScBkupOperationType DrvOperation() const = 0; |
|
70 |
|
71 /** |
|
72 * |
|
73 */ |
|
74 virtual CMMCScBkupOpParamsBase& DrvParamsBase() const = 0; |
|
75 |
|
76 /** |
|
77 * |
|
78 */ |
|
79 virtual CMMCScBkupDataOwnerCollection& DrvDataOwners() const = 0; |
|
80 |
|
81 /** |
|
82 * |
|
83 */ |
|
84 virtual RPointerArray<CMMCScBkupDataOwnerCollection>& DrvDataOwnersAll() = 0; |
|
85 |
|
86 /** |
|
87 * |
|
88 */ |
|
89 virtual CMMCScBkupFileListCollection& DrvFileList() const = 0; |
|
90 |
|
91 /** |
|
92 * |
|
93 */ |
|
94 virtual TBool DrvLastCategory() const = 0; |
|
95 |
|
96 /** |
|
97 * |
|
98 */ |
|
99 virtual void DrvStoreTotalProgress(TInt64 aProgress) = 0; |
|
100 |
|
101 /** |
|
102 * |
|
103 */ |
|
104 virtual TInt64 DrvTotalProgress() const = 0; |
|
105 |
|
106 /** |
|
107 * |
|
108 */ |
|
109 virtual MMMCScBkupProgressObserver& DrvProgressHandler() const = 0; |
|
110 }; |
|
111 |
|
112 |
|
113 |
|
114 |
|
115 #endif // __MMMCSCBKUPDRIVER_H__ |
|
116 |
|
117 //End of File |