diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-BE65B3A7-04E8-5406-B46A-09E2608E0F1F.dita --- a/Symbian3/PDK/Source/GUID-BE65B3A7-04E8-5406-B46A-09E2608E0F1F.dita Tue Mar 30 11:42:04 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-BE65B3A7-04E8-5406-B46A-09E2608E0F1F.dita Tue Mar 30 11:56:28 2010 +0100 @@ -1,95 +1,95 @@ - - - - - -Requesting -Log Engine Notifications This tutorial describes how to request notification from Log Engine. -

The Log Engine -records events so that other applications can react to them in ways which -are not part of its own specification. A typical reaction to an event might -be refreshing the screen of the device or causing it to beep, but that is -not Log Engine functionality. The Log Engine notifies other applications of -a change to its database. It provides two interfaces which you implement to -set up notification of changes:

    -
  • MLogClientChangeObserver

  • -
  • MLogViewChangeObserver

  • -
- -Implement MLogClientChangeObserver - MLogClientChangeObserver concerns changes which -are global to the database and it has a single member function to be implemented: - -Implement HandleLogClientChangeEventL of MLogClientChangeObserver -Its arguments are: -
    -
  • TUid aChangeType -the UID of the type of event which occurred

  • -
  • TInt aChangeParameter1

  • -
  • TInt aChangeParameter2

  • -
  • TInt aChangeParameter3

  • -
-The last three arguments are context-specific: their meaning is specific -to the type of event that occurred. -
-
-
- -Implement MLogViewChangeObserver - MLogViewChangeObserver concerns changes which are -specific to a database view and it has three member functions to be implemented: - - -HandleLogViewChangeEventAddedL - - -HandleLogViewChangeEventChangedL - - -HandleLogViewChangeEventDeletedL - - -Each of them has the same arguments: - - -TLogId aId - - -TInt aViewIndex - - -TInt aChangeIndex - - -TInt aTotalChangeCount - - - -
-

A change to a view typically occurs as part of a sequence of changes, -and the position of the change event record in the view typically reflects -this -fact. -

The argument aId is the Id of the log event in the database. -The argument aViewIndex is the position in the view -where the event record was added, changed or deleted. The argument -aChangeIndex is the index of the event in the sequence of -changes. The argument aTotalChangeCount is the total number -of events in the sequence of changes -

-
-Maintaining -Log Events -Setting Up -A Log Engine Client -Displaying -Log Events -Configuring -Log Engine + + + + + +Requesting +Log Engine Notifications This tutorial describes how to request notification from Log Engine. +

The Log Engine +records events so that other applications can react to them in ways which +are not part of its own specification. A typical reaction to an event might +be refreshing the screen of the device or causing it to beep, but that is +not Log Engine functionality. The Log Engine notifies other applications of +a change to its database. It provides two interfaces which you implement to +set up notification of changes:

    +
  • MLogClientChangeObserver

  • +
  • MLogViewChangeObserver

  • +
+ +Implement MLogClientChangeObserver + MLogClientChangeObserver concerns changes which +are global to the database and it has a single member function to be implemented: + +Implement HandleLogClientChangeEventL of MLogClientChangeObserver +Its arguments are: +
    +
  • TUid aChangeType +the UID of the type of event which occurred

  • +
  • TInt aChangeParameter1

  • +
  • TInt aChangeParameter2

  • +
  • TInt aChangeParameter3

  • +
+The last three arguments are context-specific: their meaning is specific +to the type of event that occurred. +
+
+
+ +Implement MLogViewChangeObserver + MLogViewChangeObserver concerns changes which are +specific to a database view and it has three member functions to be implemented: + + +HandleLogViewChangeEventAddedL + + +HandleLogViewChangeEventChangedL + + +HandleLogViewChangeEventDeletedL + + +Each of them has the same arguments: + + +TLogId aId + + +TInt aViewIndex + + +TInt aChangeIndex + + +TInt aTotalChangeCount + + + +
+

A change to a view typically occurs as part of a sequence of changes, +and the position of the change event record in the view typically reflects +this +fact. +

The argument aId is the Id of the log event in the database. +The argument aViewIndex is the position in the view +where the event record was added, changed or deleted. The argument +aChangeIndex is the index of the event in the sequence of +changes. The argument aTotalChangeCount is the total number +of events in the sequence of changes +

+
+Maintaining +Log Events +Setting Up +A Log Engine Client +Displaying +Log Events +Configuring +Log Engine
\ No newline at end of file