1 // Copyright (c) 1997-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 __EIKUNDER_H__
17 #define __EIKUNDER_H__
19 #include <e32base.h> // class CActive
27 class MEikUndertakerObserver
30 virtual void HandleThreadExitL(RThread& aThread) = 0;
37 class CEikUndertaker : public CActive
40 IMPORT_C static CEikUndertaker* NewL(MEikUndertakerObserver& aObserver);
41 IMPORT_C ~CEikUndertaker();
43 CEikUndertaker(MEikUndertakerObserver& aObserver);
46 private: // from CActive
50 MEikUndertakerObserver& iObserver;
51 RUndertaker iUndertaker;
55 #endif // __EIKUNDER_H__