equal
deleted
inserted
replaced
|
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 MLogsEvent |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __Logs_Engine_CLogsModelFactory_H__ |
|
21 #define __Logs_Engine_CLogsModelFactory_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include <f32file.h> |
|
26 #include "MLogsModel.h" |
|
27 #include "CLogsEngine.h" |
|
28 |
|
29 // FORWARD DECLARATION |
|
30 struct TLogsEventStrings; |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * Produces objects that implement MLogsEvent |
|
35 */ |
|
36 class CLogsModelFactory : public CBase |
|
37 { |
|
38 public: |
|
39 /** |
|
40 * produces MLogsModel implementation object |
|
41 * |
|
42 * @param aModel model type |
|
43 * @param aStrings log client constants |
|
44 * @return MLogsModel implementation object |
|
45 */ |
|
46 static MLogsModel* ModelL( |
|
47 RFs& aFsSession, |
|
48 TLogsModel aModel, |
|
49 TLogsEventStrings& aStrings, |
|
50 CLogsEngine* aLogsEngine ); |
|
51 }; |
|
52 |
|
53 #endif // __Logs_Engine_CLogsModelFactory_H__ |
|
54 |
|
55 |
|
56 |
|
57 // End of File |