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 __LOGGET_H__ |
|
17 #define __LOGGET_H__ |
|
18 |
|
19 #include <logwrap.h> |
|
20 |
|
21 // Classes referenced |
|
22 class TLogConfig; |
|
23 class CLogEvent; |
|
24 class MLogServDatabaseTransactionInterface; |
|
25 |
|
26 /** |
|
27 Retrieves an event from the LogEng database. |
|
28 |
|
29 @see CLogEvent |
|
30 @see MLogServDatabaseTransactionInterface |
|
31 @internalComponent |
|
32 */ |
|
33 class CLogGetEvent : public CLogActive |
|
34 { |
|
35 public: |
|
36 static CLogGetEvent* NewL(MLogServDatabaseTransactionInterface& aDatabase, TInt aPriority); |
|
37 ~CLogGetEvent(); |
|
38 void StartL(CLogEvent& aEvent, TRequestStatus& aStatus, const RMessage2& aMessage); |
|
39 |
|
40 private: |
|
41 CLogGetEvent(MLogServDatabaseTransactionInterface& aDatabase, TInt aPriority); |
|
42 void DoRunL(); |
|
43 |
|
44 private: |
|
45 MLogServDatabaseTransactionInterface& iDatabase; |
|
46 |
|
47 }; |
|
48 |
|
49 #endif |