os/persistentdata/loggingservices/eventlogger/LogCli/inc/LogViewWindowChangeObserver.h
Update contrib.
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 __LOGVIEWWINDOWCHANGEOBSERVER_H__
17 #define __LOGVIEWWINDOWCHANGEOBSERVER_H__
23 #include "LogViewChangeObserverInternal.h"
29 /////////////////////////////////////////////////////////////////////////////////////////
30 // -----> CLogViewWindowChangeObserver (header)
31 /////////////////////////////////////////////////////////////////////////////////////////
32 NONSHARABLE_CLASS(CLogViewWindowChangeObserver) : public CBase, public MLogViewChangeObserverInternal
46 CLogViewWindowChangeObserver(MLogViewChangeObserverInternal& aObserver);
47 ~CLogViewWindowChangeObserver();
52 * Request that the next change notification corresponding to the specified
53 * log id and change type is ignored.
55 void IgnoreNextEventL(TLogId aId, TType aType);
57 private: // FROM MLogViewChangeObserver
58 void HandleLogViewChangeEventAddedL(TLogId aId, TInt aViewIndex, TInt aChangeIndex, TInt aTotalChangeCount);
59 void HandleLogViewChangeEventChangedL(TLogId aId, TInt aViewIndex, TInt aChangeIndex, TInt aTotalChangeCount);
60 void HandleLogViewChangeEventDeletedL(TLogId aId, TInt aViewIndex, TInt aChangeIndex, TInt aTotalChangeCount);
62 private: // FROM MLogViewChangeObserverInternal
63 void HandleLogViewChangeEventLogClearedL();
66 TInt Find(TLogId aId, TType aType) const;
72 inline TIgnoreEvent(TLogId aId, TType aType) : iId(aId), iType(aType) { }
80 MLogViewChangeObserverInternal& iObserver;
81 RArray<TIgnoreEvent> iIgnoreStack;