|
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef LOGWRAPCONST_H |
|
17 #define LOGWRAPCONST_H |
|
18 /** |
|
19 Big enough to contain any of the above strings |
|
20 Defines a modifiable buffer descriptor into which a standard string from the |
|
21 resource in the logwrap.dll resource file can be safely put. |
|
22 |
|
23 @see CLogClient::GetString() |
|
24 @publishedAll |
|
25 @released |
|
26 */ |
|
27 typedef TBuf<64> TLogString; |
|
28 |
|
29 /** |
|
30 Type definitions |
|
31 The unique event ID associated with a log event. |
|
32 |
|
33 @see CLogEvent |
|
34 @see CLogViewDuplicate |
|
35 @see CLogViewRecent |
|
36 @see CLogClient |
|
37 @see CLogBase |
|
38 @publishedAll |
|
39 @released |
|
40 */ |
|
41 typedef TInt32 TLogId; |
|
42 /** |
|
43 The duration type of an event. |
|
44 |
|
45 @see CLogEvent |
|
46 @see CLogFilter |
|
47 @publishedAll |
|
48 @released |
|
49 */ |
|
50 typedef TInt8 TLogDurationType; |
|
51 typedef TInt8 TLogRecentList; |
|
52 typedef TUint16 TLogSize; |
|
53 typedef TUint8 TLogRecentSize; |
|
54 /** |
|
55 Duration of an event, expressed as the number of seconds since the time of |
|
56 the event. |
|
57 |
|
58 @see CLogEvent |
|
59 @publishedAll |
|
60 @released |
|
61 */ |
|
62 typedef TUint32 TLogDuration; |
|
63 typedef TUint32 TLogAge; |
|
64 /** |
|
65 Link value relating a log event to an entity in another application. |
|
66 |
|
67 @see CLogEvent |
|
68 @publishedAll |
|
69 @released |
|
70 */ |
|
71 typedef TUint32 TLogLink; |
|
72 typedef TInt16 TLogStringId; |
|
73 typedef TInt16 TLogTypeId; |
|
74 /** |
|
75 The duration type of an event. |
|
76 |
|
77 @see CLogEvent |
|
78 @see CLogFilter |
|
79 @publishedAll |
|
80 @released |
|
81 */ |
|
82 typedef TInt8 TLogDurationType; |
|
83 /** |
|
84 Event flags. |
|
85 |
|
86 @see CLogEvent |
|
87 @see CLogFilter |
|
88 @publishedAll |
|
89 @released |
|
90 */ |
|
91 typedef TUint8 TLogFlags; |
|
92 |
|
93 #endif |