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 __LOGCLIENTOBSERVER_H__
17 #define __LOGCLIENTOBSERVER_H__
27 class MLogClientChangeObserver;
30 /////////////////////////////////////////////////////////////////////////////////////////
31 // -----> CLogClientObserver (header)
32 /////////////////////////////////////////////////////////////////////////////////////////
33 NONSHARABLE_CLASS(CLogClientObserver) : public CActive
39 static CLogClientObserver* NewL(CLogClient& aClient, MLogClientChangeObserver& aObserver, TInt aPriority);
40 ~CLogClientObserver();
43 CLogClientObserver(CLogClient& aClient, MLogClientChangeObserver& aObserver, TInt aPriority);
45 private: // FROM CActive
48 TInt RunError(TInt aError);
51 void RequestChanges();
52 void RequestChangesCancel();
53 void NotifyObserverL();
57 MLogClientChangeObserver& iObserver;
59 TPckgBuf<TInt> iContextBuf;
60 TPckgBuf<TInt> iParamBuf1;
61 TPckgBuf<TInt> iParamBuf2;
62 TPckgBuf<TInt> iParamBuf3;