Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <LOGVIEW.H>
Link against: logcli.lib

Class CLogViewDuplicate

class CLogViewDuplicate : public CLogView;

Description

A view of events that are duplicates of an event in a view of recent events.

The view is populated through a call to CLogViewRecent::DuplicatesL(CLogViewDuplicate &,TRequestStatus &).

Derivation

Members

Defined in CLogViewDuplicate:

Inherited from CActive:

Inherited from CBase:

Inherited from CLogActive:

Inherited from CLogView:

See also:


Construction and destruction


NewL(CLogClient &,TInt)

IMPORT_C static CLogViewDuplicate* NewL(CLogClient &aClient, TInt aPriority=CActive::EPriorityStandard);

Description

Parameters

CLogClient &aClient

TInt aPriority

Return value

CLogViewDuplicate *


NewL(CLogClient &,MLogViewChangeObserver &,TInt)

IMPORT_C static CLogViewDuplicate* NewL(CLogClient &aClient, MLogViewChangeObserver &aObserver, TInt aPriority=CActive::EPriorityStandard);

Description

Parameters

CLogClient &aClient

MLogViewChangeObserver &aObserver

TInt aPriority

Return value

CLogViewDuplicate *


~CLogViewDuplicate()

IMPORT_C ~CLogViewDuplicate();

Description

[Top]


Member functions


RemoveL(TLogId)

Capability: WriteDeviceData

IMPORT_C void RemoveL(TLogId aId);

Description

Removes the event with the specified unique event ID from the view. This does not delete the event from the main event log.

Parameters

TLogId aId

The unique event ID.


RemoveL(TRequestStatus &)

Capability: WriteDeviceData

IMPORT_C TBool RemoveL(TRequestStatus &aStatus);

Description

Removes the current event from the duplicate 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.

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.

Return value

TBool

ETrue, if the function has successfully issued the asynchronous request. EFalse, if there are no events in the view.


Source()const

inline TLogId Source() const;

Description

Returns the unique ID of the event for which all the events in this view are duplicates.

Return value

TLogId

The unique event ID.