#include <logview.h>
Link against: logcli.lib
class CLogViewRecent : public CLogView |
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 &) |
Inherited Attributes | |
---|---|
CActive::iStatus | |
CLogView::iClient | |
CLogView::iData | |
CLogView::iMaintain | |
CLogView::iPackage | |
CLogView::iSpare2 | |
CLogView::iValid | |
CLogView::iViewId | |
CLogView::iWindow |
Inherited Enumerations | |
---|---|
CActive:TPriority |
A view on a recent event list.
IMPORT_C | ~CLogViewRecent | ( | ) |
Frees resources owned by the object priot to its destruction.
IMPORT_C TBool | DuplicatesL | ( | CLogViewDuplicate & | aView, |
TRequestStatus & | aStatus | |||
) |
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.
Parameters | |
---|---|
aView | The duplicates view to be refreshed. |
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. |
Capability | |
---|---|
Note | None required. |
IMPORT_C TBool | DuplicatesL | ( | CLogViewDuplicate & | aView, |
const CLogFilter & | aFilter, | |||
TRequestStatus & | aStatus | |||
) |
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.
Parameters | |
---|---|
aView | The duplicates view to be refreshed. |
aFilter | The filter. |
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. |
Capability | |
---|---|
Note | None required. |
IMPORT_C TBool | DuplicatesL | ( | CLogViewDuplicate & | aView, |
const CLogFilterList & | aFilterList, | |||
TRequestStatus & | aStatus | |||
) |
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.
Parameters | |
---|---|
aView | The duplicates view to be refreshed. |
aFilterList | The set of filters. |
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. |
Capability | |
---|---|
Note | None required. |
IMPORT_C CLogViewRecent * | NewL | ( | CLogClient & | aClient, |
TInt | aPriority = CActive::EPriorityStandard | |||
) | [static] |
IMPORT_C CLogViewRecent * | NewL | ( | CLogClient & | aClient, |
MLogViewChangeObserver & | aObserver, | |||
TInt | aPriority = CActive::EPriorityStandard | |||
) | [static] |
TLogRecentList | RecentList | ( | ) | const [inline] |
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.
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.
Parameters | |
---|---|
aId | The unique event ID. |
Capability | |
---|---|
WriteDeviceData |
IMPORT_C TBool | RemoveL | ( | TRequestStatus & | aStatus | ) |
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.
Parameters | |
---|---|
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. |
Capability | |
---|---|
WriteDeviceData |
IMPORT_C TBool | SetRecentListL | ( | TLogRecentList | aList, |
TRequestStatus & | aStatus | |||
) |
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.
Parameters | |
---|---|
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. |
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. |
Capability | |
---|---|
Note | None required. |
IMPORT_C TBool | SetRecentListL | ( | TLogRecentList | aList, |
const CLogFilter & | aFilter, | |||
TRequestStatus & | aStatus | |||
) |
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.
Parameters | |
---|---|
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. |
aFilter | The filter. |
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. |
Capability | |
---|---|
Note | None required. |
IMPORT_C TBool | SetRecentListL | ( | TLogRecentList | aList, |
const CLogFilterList & | aFilterList, | |||
TRequestStatus & | aStatus | |||
) |
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.
Parameters | |
---|---|
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. |
aFilterList | The set of filters. |
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. |
Capability | |
---|---|
Note | None required. |