equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2003 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: Interface for creator of MCALoggerMessage:s. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __MCALOGGERMESSAGEFACTORY_H__ |
|
20 #define __MCALOGGERMESSAGEFACTORY_H__ |
|
21 |
|
22 //INCLUDES |
|
23 |
|
24 #include <e32std.h> |
|
25 |
|
26 // FORWARD DECLERATIONS |
|
27 |
|
28 class MCALoggerMessage; |
|
29 class MCALoggerMessageHeader; |
|
30 |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * Interface for creator of MCALoggerMessages. |
|
35 * |
|
36 * @lib CALogger.dll |
|
37 * @since 2.1 |
|
38 */ |
|
39 class MCALoggerMessageFactory |
|
40 { |
|
41 protected: |
|
42 |
|
43 /** |
|
44 * Destructor. |
|
45 */ |
|
46 virtual ~MCALoggerMessageFactory() {}; |
|
47 |
|
48 public: // Interface |
|
49 |
|
50 /** |
|
51 * Creates logger message |
|
52 * @since 2.1 |
|
53 * @return Instance to MCALoggerMessage |
|
54 */ |
|
55 virtual MCALoggerMessage* CreateLoggerMessageL( RReadStream& aStream ) = 0; |
|
56 |
|
57 /** |
|
58 * Creates logger message header |
|
59 * @since 2.1 |
|
60 * @return Instance to MCALoggerMessageHeader |
|
61 */ |
|
62 virtual MCALoggerMessageHeader* CreateLoggerMessageHeaderL() = 0; |
|
63 }; |
|
64 |
|
65 #endif // __MCALOGGERMESSAGEFACTORY_H__ |
|
66 |
|
67 // End of File |