williamr@2: // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@2: // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members williamr@2: // which accompanies this distribution, and is available williamr@2: // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // CLogView williamr@2: // williamr@2: // williamr@2: williamr@2: inline const CLogEvent& CLogView::Event() const williamr@2: /** Returns details of the log event at the current position within the view. williamr@2: williamr@2: @return A reference to the log event details object. If a view does not contain williamr@2: any events, then the content of this object is undefined. */ williamr@2: { williamr@2: return *iEvent; williamr@2: } williamr@2: williamr@2: inline TBool CLogView::IsValid() const williamr@2: { williamr@2: return iValid; williamr@2: } williamr@2: williamr@2: //********************************** williamr@2: // CLogViewRecent williamr@2: //********************************** williamr@2: williamr@2: inline TLogRecentList CLogViewRecent::RecentList() const williamr@2: /** Gets the recent event list number that identifies the recent event list to williamr@2: which the current entry belongs. This is an asynchronous request. williamr@2: williamr@2: Note that this function is only useful if KLogNullRecentList is passed to williamr@2: the SetRecentListL() functions. williamr@2: williamr@2: @return The recent event list number. */ williamr@2: { williamr@2: return iCurrentList; williamr@2: } williamr@2: williamr@2: //********************************** williamr@2: // CLogViewDuplicate williamr@2: //********************************** williamr@2: williamr@2: inline TLogId CLogViewDuplicate::Source() const williamr@2: /** Returns the unique ID of the event for which all the events in this view are williamr@2: duplicates. williamr@2: williamr@2: @return The unique event ID. */ williamr@2: { williamr@2: return iSourceId; williamr@2: }