os/persistentdata/loggingservices/eventlogger/LogCli/inc/LogViewWindowLockObserver.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 __LOGVIEWWINDOWLOCKOBSERVER_H__
17 #define __LOGVIEWWINDOWLOCKOBSERVER_H__
24 #include "LogCliServShared.h"
25 #include <logviewchangeobserver.h>
31 /////////////////////////////////////////////////////////////////////////////////////////
32 // -----> MLogViewWindowLockObserver (header)
33 /////////////////////////////////////////////////////////////////////////////////////////
34 class MLogViewWindowLockObserver
39 public: // FROM MLogViewWindowLockObserver
40 virtual void HandleWindowLockStatusChangeL(TLogViewLockStatus aStatus) = 0;
44 /////////////////////////////////////////////////////////////////////////////////////////
45 // -----> CLogViewWindowLockObserver (header)
46 /////////////////////////////////////////////////////////////////////////////////////////
47 NONSHARABLE_CLASS(CLogViewWindowLockObserver) : public CLogActive
53 CLogViewWindowLockObserver(RLogSession& aSession, TLogViewId aViewId, MLogViewWindowLockObserver& aObserver, TInt aPriority);
54 ~CLogViewWindowLockObserver();
57 private: // FROM CLogActive
60 TInt RunError(TInt aError);
66 RLogSession& iSession;
68 MLogViewWindowLockObserver& iObserver;