First public contribution.
1 // Copyright (c) 2007-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 MMFCONTROLLERFRAMEWORKPRIV_H
17 #define MMFCONTROLLERFRAMEWORKPRIV_H
22 Used to monitor the death of the controller subthread created by the controller proxy.
26 NONSHARABLE_CLASS(CLogonMonitor) : public CActive
30 Two phases constructor
32 static CLogonMonitor* NewL(MLogonMonitorObserver* aLogonMonitorObserver);
40 Handle a request from the client to start monitoring a thread death
43 The thread to start monitoring
45 void StartMonitoring(RThread& aThread);
52 CLogonMonitor(MLogonMonitorObserver* aLogonMonitorObserver);
55 Second phase constructor
71 A Pointer to the controller proxy.
73 MLogonMonitorObserver* iLogonMonitorObserver;
75 A Pointer to the monitored thread. This thread is owned by the controller proxy
79 A Pointer to the currently installed active scheduler
81 CActiveScheduler* iScheduler;
86 #endif // MMFCONTROLLERFRAMEWORKPRIV_H