1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __LOGCLIENTCHANGEOBSERVER_H__
17 #define __LOGCLIENTCHANGEOBSERVER_H__
26 const TUid KLogClientChangeEventLogCleared = { 0x101F8C4F };
27 const TUid KLogClientChangeEventRefreshView = { 0x1020601B };
30 This class allows a client of the log engine to observe specific change
31 events within a given view.
35 class MLogClientChangeObserver
38 /** Handle a global change within the logs database
40 This method is called when a generic event occurs within the log database.
41 Such events are not specific to a view (see MLogViewChangeObserver for view
44 @param aChangeType The uid corresponding to the type of event which
46 @param aChangeParam1 A context-specific change paramater which can be
47 interpreted based on the change type.
48 @param aChangeParam2 A context-specific change paramater which can be
49 interpreted based on the change type.
50 @param aChangeParam3 A context-specific change paramater which can be
51 interpreted based on the change type.
53 A list of change types and their associated parameters follows:
55 KLogClientChangeEventLogCleared - no parameters. This event occurs when
56 the log database is cleared.
57 KLogClientChangeEventRefreshView - no parameters. This event occurs when
58 the client needs to refresh their view. For example, this occurs after the
59 log database has been restored from a backup. */
60 virtual void HandleLogClientChangeEventL(TUid aChangeType, TInt aChangeParam1, TInt aChangeParam2, TInt aChangeParam3) = 0;
63 IMPORT_C virtual void MLogClientChangeObserver_Reserved1();
64 IMPORT_C virtual void MLogClientChangeObserver_Reserved2();