Update contrib.
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 the License "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.
14 // e32test\misc\t_destruct.h
18 #ifndef __T_DESTRUCT_H__
20 // Passed to slave process to indicate which test to run, also used as the exit reason of slave
21 // process to check that the correct code path executed.
24 ETestMainThreadReturn=1,
26 ETestChildThreadReturn,
28 ETestOtherThreadPanic,
29 ETestOtherThreadRunning,
30 ETestPermanentThreadExit,
38 // Messages passed from slave process to main test process to signal when destruction has happened.
41 EMessageConstruct, // construction of exe global data
42 EMessageConstructStatic, // construction of statically-linked dll data
43 EMessageConstructDynamic, // construction of dynamically-loaded dll data
44 EMessageConstructStatic3, // construction of statically-linked dll data in dll 3
45 EMessagePreDestruct, // destruct shouldn't happen before here
46 EMessageDestruct, // destruction of exe global data
47 EMessageDestructStatic, // destruction of statically-linked dll data
48 EMessageDestructDynamic, // destruction of dynamically-loaded dll data
49 EMessageDestructStatic3, // destruction of statically-linked dll data in dll 3
54 _LIT(KMessageQueueName, "t_destruct queue");
56 IMPORT_C void StaticMain();
57 IMPORT_C void StaticMain3();