|
1 /* |
|
2 * Copyright (c) 2003-2005 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: Implementation of creator of MCALoggerMessages. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef TCALOGGERMESSAGEFACTORY_H |
|
20 #define TCALOGGERMESSAGEFACTORY_H |
|
21 |
|
22 //INCLUDES |
|
23 |
|
24 #include <e32std.h> |
|
25 #include "MCALoggerMessageFactory.h" |
|
26 |
|
27 // FORWARD DECLERATIONS |
|
28 |
|
29 class MCALoggerMessage; |
|
30 class MCALoggerMessageHeader; |
|
31 |
|
32 // CLASS DECLARATION |
|
33 |
|
34 /** |
|
35 * Implementation for creator of MCALoggerMessages. |
|
36 * |
|
37 * T-class, because there is no dynamic member variables and because |
|
38 * there is no other class which suites in this case. |
|
39 * Class methods cannot be static, because pointer to MCALoggerMessageFactory |
|
40 * is passed to client. |
|
41 * @lib CALogger.dll |
|
42 * @since 2.1 |
|
43 */ |
|
44 class TCALoggerMessageFactory : public MCALoggerMessageFactory |
|
45 { |
|
46 public: // Interface |
|
47 |
|
48 /** |
|
49 * Creates logger message |
|
50 * @since 3.0 |
|
51 * @param aStream Stream for getting information for factory. |
|
52 * @return Instance to MCALoggerMessage |
|
53 */ |
|
54 MCALoggerMessage* CreateLoggerMessageL( RReadStream& aStream ); |
|
55 |
|
56 /** |
|
57 * Creates logger message header |
|
58 * @since 2.1 |
|
59 * @return Instance to MCALoggerMessageHeader |
|
60 */ |
|
61 MCALoggerMessageHeader* CreateLoggerMessageHeaderL(); |
|
62 }; |
|
63 |
|
64 #endif // CALOGGERMESSAGEFACTORY_H |
|
65 |
|
66 // End of File |