Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: LogViewChangeObserver.h

Class MLogViewChangeObserver

class MLogViewChangeObserver;

Description

This class allows a client of the log engine to observe specific change events within a given view.

Members

Defined in MLogViewChangeObserver:
HandleLogViewChangeEventAddedL(), HandleLogViewChangeEventChangedL(), HandleLogViewChangeEventDeletedL()


Member functions


HandleLogViewChangeEventAddedL()

virtual void HandleLogViewChangeEventAddedL(TLogId aId, TInt aViewIndex, TInt aChangeIndex, TInt aTotalChangeCount)=0;

Description

Handle a change corresponding to a view addition

This method is called when a log event is added to a view. The event maybe recently added, or have existed for some time but only now meet the criteria of this view (i.e satisfy the filter) due to some other change.

Parameters

TLogId aId

The id of the log event which has been added to the view.

TInt aViewIndex

The position within the view at which the event has been added.

TInt aChangeIndex

In a series of changes, this is the index of the currently processing change. The change index will be greater than (or equal to) 0, and less than the total change count.

TInt aTotalChangeCount

This is the total count of all changes which will be processed in this batch.


HandleLogViewChangeEventChangedL()

virtual void HandleLogViewChangeEventChangedL(TLogId aId, TInt aViewIndex, TInt aChangeIndex, TInt aTotalChangeCount)=0;

Description

Handle a change corresponding to a view change

This method is called when a log event changes within a view.

Parameters

TLogId aId

The id of the log event which has changed within the view.

TInt aViewIndex

The position within the view where the change occurred.

TInt aChangeIndex

In a series of changes, this is the index of the currently processing change. The change index will be greater than (or equal to) 0, and less than the total change count.

TInt aTotalChangeCount

This is the total count of all changes which will be processed in this batch.


HandleLogViewChangeEventDeletedL()

virtual void HandleLogViewChangeEventDeletedL(TLogId aId, TInt aViewIndex, TInt aChangeIndex, TInt aTotalChangeCount)=0;

Description

Handle a change corresponding to a view deletion

This method is called when a log event is removed from a view.

Parameters

TLogId aId

The id of the log event which has been removed from the view

TInt aViewIndex

The position within the view which the event previously held.

TInt aChangeIndex

In a series of changes, this is the index of the currently processing change. The change index will be greater than (or equal to) 0, and less than the total change count.

TInt aTotalChangeCount

This is the total count of all changes which will be processed in this batch