First public contribution.
1 // Copyright (c) 1995-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 OPENWFCMONITORTHREAD_H_
17 #define OPENWFCMONITORTHREAD_H_
21 class COpenWfcJobManger;
23 class COpenWfcMonitorThread : public CBase
26 virtual ~COpenWfcMonitorThread();
28 static COpenWfcMonitorThread* NewL(TInt aNumber, COpenWfcJobManger& aManager);
29 static COpenWfcMonitorThread* NewLC(TInt aNumber, COpenWfcJobManger& aManager);
30 static TInt Main(TAny *aSelf);
39 COpenWfcMonitorThread(COpenWfcJobManger& aManager);
40 void ConstructL(TInt aScreenNumber);
43 volatile TBool iEndThread;
45 TRequestStatus iThreadStatus;
46 COpenWfcJobManger& iManager;
47 RSemaphore iSemaphore;
50 #endif /* OPENWFCMONITORTHREAD_H_ */