equal
deleted
inserted
replaced
|
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __LOGREC_H__ |
|
17 #define __LOGREC_H__ |
|
18 |
|
19 #include <d32dbms.h> |
|
20 #include <logwrap.h> |
|
21 |
|
22 // Classes referenced |
|
23 class MLogServDatabaseTransactionInterface; |
|
24 |
|
25 /** |
|
26 Performs LogEng database recovery. |
|
27 |
|
28 @see MLogServDatabaseTransactionInterface |
|
29 @internalComponent |
|
30 */ |
|
31 class CLogRecover : public CLogActive |
|
32 { |
|
33 public: |
|
34 CLogRecover(MLogServDatabaseTransactionInterface& aDatabase, TInt aPriority); |
|
35 TBool Start(TRequestStatus& aStatus); |
|
36 // |
|
37 private: |
|
38 void DoRunL(); |
|
39 void DoComplete(TInt& aStatus); |
|
40 // |
|
41 private: |
|
42 MLogServDatabaseTransactionInterface& iDatabase; |
|
43 TPckgBuf<TInt> iStep; |
|
44 // |
|
45 RDbIncremental iOperation; |
|
46 }; |
|
47 |
|
48 #endif |