CLogViewRecent Class Reference
class CLogViewRecent : public CLogView |
A view on a recent event list.
Public Member Functions |
---|
| ~CLogViewRecent() |
IMPORT_C void | ClearDuplicatesL() |
IMPORT_C TBool | DuplicatesL(CLogViewDuplicate &, TRequestStatus &) |
IMPORT_C TBool | DuplicatesL(CLogViewDuplicate &, const CLogFilter &, TRequestStatus &) |
IMPORT_C TBool | DuplicatesL(CLogViewDuplicate &, const CLogFilterList &, TRequestStatus &) |
IMPORT_C CLogViewRecent * | NewL(CLogClient &, TInt) |
IMPORT_C CLogViewRecent * | NewL(CLogClient &, MLogViewChangeObserver &, TInt) |
TLogRecentList
| RecentList() |
IMPORT_C void | RemoveL(TLogId) |
IMPORT_C TBool | RemoveL(TRequestStatus &) |
IMPORT_C TBool | SetRecentListL(TLogRecentList, TRequestStatus &) |
IMPORT_C TBool | SetRecentListL(TLogRecentList, const CLogFilter &, TRequestStatus &) |
IMPORT_C TBool | SetRecentListL(TLogRecentList, const CLogFilterList &, TRequestStatus &) |
Constructor & Destructor Documentation
CLogViewRecent(CLogClient &, TInt)
~CLogViewRecent()
IMPORT_C | ~CLogViewRecent | ( | ) | |
Frees resources owned by the object priot to its destruction.
Member Functions Documentation
ClearDuplicatesL()
IMPORT_C void | ClearDuplicatesL | ( | ) | |
-
capability
- WriteDeviceData
ConstructL(MLogViewChangeObserver *)
DoRemoveL(TRequestStatus &)
DoRunL()
void | DoRunL | ( | ) | [private, virtual] |
DuplicatesL(CLogViewDuplicate &, TRequestStatus &)
Refreshes the specified duplicate event view with the duplicates of the current event in the recent event list view. This is an asynchronous request.
On successful completion, the view is positioned at the first, i.e. most recent, event within the view.
-
capability
- Note None required.
Parameters
CLogViewDuplicate & aView | The duplicates view to be refreshed. |
TRequestStatus & aStatus | The request status. On request completion, contains:KErrNone, if the view has been successfully refreshed; otherwise, one of the other system wide error codes. |
DuplicatesL(CLogViewDuplicate &, const CLogFilter &, TRequestStatus &)
Refreshes the specified duplicate event view with the duplicates of the current event in the recent event list view and conforming to the specified filter. This is an asynchronous request.
On successful completion, the view is positioned at the first, i.e. most recent, event within the view.
-
capability
- Note None required.
Parameters
CLogViewDuplicate & aView | The duplicates view to be refreshed. |
const CLogFilter & aFilter | The filter. |
TRequestStatus & aStatus | The request status. On request completion, contains:KErrNone, if the view has been successfully refreshed; otherwise, one of the other system wide error codes. |
DuplicatesL(CLogViewDuplicate &, const CLogFilterList &, TRequestStatus &)
Refreshes the specified duplicate event view with the duplicates of the current event in the recent event list view and conforming to the set of specified filters. This is an asynchronous request.
On successful completion, the view is positioned at the first, i.e. most recent, event within the view.
-
capability
- Note None required.
Parameters
CLogViewDuplicate & aView | The duplicates view to be refreshed. |
const CLogFilterList & aFilterList | The set of filters. |
TRequestStatus & aStatus | The request status. On request completion, contains:KErrNone, if the view has been successfully refreshed; otherwise, one of the other system wide error codes. |
NewL(CLogClient &, MLogViewChangeObserver &, TInt)
RecentList()
Gets the recent event list number that identifies the recent event list to which the current entry belongs. This is an asynchronous request.
Note that this function is only useful if KLogNullRecentList is passed to the SetRecentListL() functions.
RemoveL(TLogId)
IMPORT_C void | RemoveL | ( | TLogId | aId | ) | |
Removes the event with the specified unique event ID from the view. This does not delete the event from the main event log.
-
capability
- WriteDeviceData
Parameters
TLogId aId | The unique event ID. |
RemoveL(TRequestStatus &)
Removes the current event from its recent event list. This is an asynchronous request.
This does not delete the event from the main event log.
The function moves the current position in the view to the first, i.e. most recent, event.
Note that removing a recent event from a recent event list also removes all of its duplicates.
-
capability
- WriteDeviceData
Parameters
TRequestStatus & aStatus | The request status. On request completion, contains:KErrNone, if the view has been successfully initialised or refreshed; otherwise, one of the other system wide error codes. |
SetRecentListL(TLogRecentList, TRequestStatus &)
Initialises or refreshes the view for the specified recent event list. This is an asynchronous request.
On successful completion, the view is positioned at the first, i.e. most recent, event within the recent event list.
-
capability
- Note None required.
Parameters
TLogRecentList aList | The recent event list specifier. A value of KLogNullRecentList indicates that the view is to include events from all of the recent event lists. |
TRequestStatus & aStatus | The request status. On request completion, contains:KErrNone, if the view has been successfully initialised or refreshed; otherwise, one of the other system wide error codes. |
SetRecentListL(TLogRecentList, const CLogFilter &, TRequestStatus &)
Initialises or refreshes the view for the specified recent event list, conforming to the specified filter. This is an asynchronous request.
On successful completion, the view is positioned at the first, i.e. most recent, event in the recent event list.
-
capability
- Note None required.
Parameters
TLogRecentList aList | The recent event list specifier. A value of KLogNullRecentList indicates that the view is to include events from all of the recent event lists. |
const CLogFilter & aFilter | The filter. |
TRequestStatus & aStatus | The request status. On request completion, contains:KErrNone, if the view has been successfully initialised or refreshed; otherwise, one of the other system wide error codes. |
SetRecentListL(TLogRecentList, const CLogFilterList &, TRequestStatus &)
Initialises or refreshes the view for the specified recent event list, conforming to the set of specified filters. This is an asynchronous request.
On successful completion, the view is positioned at the first, i.e. most recent, event in the recent event list.
-
capability
- Note None required.
Parameters
TLogRecentList aList | The recent event list specifier. A value of KLogNullRecentList indicates that the view is to include events from all of the recent event lists. |
const CLogFilterList & aFilterList | The set of filters. |
TRequestStatus & aStatus | The request status. On request completion, contains:KErrNone, if the view has been successfully initialised or refreshed; otherwise, one of the other system wide error codes. |
Member Data Documentation
TLogRecentList
iCurrentList
TPckgBuf< TLogRecentList > iCurrentListBuf
TLogRecentList
iRecentList
CLogViewRemoveEventClientOp * iRemove
CLogViewRemoveEventClientOp * | iRemove | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.