|
1 // Copyright (c) 2002-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 // CLogView |
|
15 // |
|
16 // |
|
17 |
|
18 inline const CLogEvent& CLogView::Event() const |
|
19 /** Returns details of the log event at the current position within the view. |
|
20 |
|
21 @return A reference to the log event details object. If a view does not contain |
|
22 any events, then the content of this object is undefined. */ |
|
23 { |
|
24 return *iEvent; |
|
25 } |
|
26 |
|
27 inline TBool CLogView::IsValid() const |
|
28 { |
|
29 return iValid; |
|
30 } |
|
31 |
|
32 //********************************** |
|
33 // CLogViewRecent |
|
34 //********************************** |
|
35 |
|
36 inline TLogRecentList CLogViewRecent::RecentList() const |
|
37 /** Gets the recent event list number that identifies the recent event list to |
|
38 which the current entry belongs. This is an asynchronous request. |
|
39 |
|
40 Note that this function is only useful if KLogNullRecentList is passed to |
|
41 the SetRecentListL() functions. |
|
42 |
|
43 @return The recent event list number. */ |
|
44 { |
|
45 return iCurrentList; |
|
46 } |
|
47 |
|
48 //********************************** |
|
49 // CLogViewDuplicate |
|
50 //********************************** |
|
51 |
|
52 inline TLogId CLogViewDuplicate::Source() const |
|
53 /** Returns the unique ID of the event for which all the events in this view are |
|
54 duplicates. |
|
55 |
|
56 @return The unique event ID. */ |
|
57 { |
|
58 return iSourceId; |
|
59 } |