|
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 * Produces objects that implement MLogsGetEvent |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __Logs_Engine_CLogsGetEventFactory_H__ |
|
21 #define __Logs_Engine_CLogsGetEventFactory_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include <f32file.h> |
|
26 #include "LogsEng.hrh" |
|
27 |
|
28 // FORWARD DECLARATION |
|
29 |
|
30 // CLASS DECLARATION |
|
31 class MLogsGetEvent; |
|
32 class MLogsObserver; |
|
33 class MLogsEventArray; |
|
34 struct TLogsEventStrings; |
|
35 |
|
36 /** |
|
37 * Produces objects that implement MLogsConfig |
|
38 */ |
|
39 class CLogsGetEventFactory : public CBase |
|
40 { |
|
41 |
|
42 public: |
|
43 |
|
44 /** |
|
45 * produces MLogsGetEvent implementation object |
|
46 * |
|
47 * @param aFsSession file server session |
|
48 * @param aStrings log client constants |
|
49 * @param aObserver observer |
|
50 * @return MLogsGetEvent implementation object |
|
51 */ |
|
52 static MLogsGetEvent* LogsGetEventL( RFs& aFsSession, |
|
53 TLogsEventStrings& aStrings, |
|
54 MLogsObserver* aObserver = NULL ); |
|
55 |
|
56 /** |
|
57 * produces MLogsEventArray implementation object |
|
58 * |
|
59 * @param aModel Logs model for the event array |
|
60 * @param aGranularity granularity for the event array |
|
61 * @return MLogsEventArray implementation object |
|
62 */ |
|
63 static MLogsEventArray* LogsEventArrayL( TLogsModel aModel, |
|
64 TInt aGranularity); |
|
65 |
|
66 }; |
|
67 |
|
68 #endif // __Logs_Engine_CLogsGetEventFactory_H__ |
|
69 |
|
70 |
|
71 |
|
72 // End of File |