|
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: |
|
15 * Defines abstract interface getting log event. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __MLogsGetEvent_H_ |
|
21 #define __MLogsGetEvent_H_ |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include <logwrap.h> |
|
26 #include "LogsEng.hrh" |
|
27 // MACROS |
|
28 |
|
29 // DATA TYPES |
|
30 |
|
31 // FUNCTION PROTOTYPES |
|
32 |
|
33 // FORWARD DECLARATIONS |
|
34 |
|
35 // CLASS DECLARATION |
|
36 class MLogsObserver; |
|
37 class MLogsEventGetter; |
|
38 |
|
39 /** |
|
40 * Defines abstract interface getting log event |
|
41 */ |
|
42 class MLogsGetEvent |
|
43 { |
|
44 public: |
|
45 |
|
46 virtual ~MLogsGetEvent() {}; |
|
47 |
|
48 public: |
|
49 |
|
50 /** |
|
51 * Starts async get operation |
|
52 * |
|
53 * @param aId log event id |
|
54 */ |
|
55 virtual void Get( TLogId aId ) = 0; |
|
56 |
|
57 /** |
|
58 * Event get method. |
|
59 * |
|
60 * @return MLogsEventGetter object |
|
61 */ |
|
62 virtual const MLogsEventGetter* Event() = 0; |
|
63 |
|
64 /** |
|
65 * Log event get method. |
|
66 * |
|
67 * @return CLogEvent object |
|
68 */ |
|
69 virtual const CLogEvent* LogEvent() const = 0; |
|
70 |
|
71 /** |
|
72 * Set UI observer for notifications |
|
73 * |
|
74 * @param aObserver pointer to observer. |
|
75 */ |
|
76 virtual void SetObserver( MLogsObserver* aObserver ) = 0; |
|
77 }; |
|
78 |
|
79 |
|
80 #endif |
|
81 |
|
82 // End of File __MLogsGetEvent_H_ |