kerneltest/e32test/misc/t_empty2.cpp
changeset 0 a41df078684a
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 // Copyright (c) 1998-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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // e32test\misc\t_empty2.cpp
       
    15 // Overview:
       
    16 // Does almost nothing!
       
    17 // API Information:
       
    18 // None
       
    19 // Details:
       
    20 // Does almost nothing -- call: RDebug::RawPrint(_L("E32Main entered\r\n")) 
       
    21 // and exit.
       
    22 // Platforms/Drives/Compatibility:
       
    23 // All.
       
    24 // Assumptions/Requirement/Pre-requisites:
       
    25 // Failures and causes:
       
    26 // Base Port information:
       
    27 // 
       
    28 //
       
    29 
       
    30 #include <e32svr.h>
       
    31 #include "../dll/t_dll.h"
       
    32 
       
    33 // Dummy function to make codewarrior keep T_DLL1 in the import list
       
    34 #ifdef __CW32__
       
    35 static void Dummy()
       
    36 	{
       
    37 	TestDll1::Data();
       
    38 	}
       
    39 #endif
       
    40 
       
    41 #ifdef __VC32__
       
    42 TAny* User::Alloc(TInt)
       
    43 	{
       
    44 	return NULL;
       
    45 	}
       
    46 
       
    47 void User::Free(TAny*)
       
    48 	{
       
    49 	}
       
    50 #endif
       
    51 
       
    52 GLDEF_C TInt E32Main()
       
    53 	{
       
    54 	RDebug::RawPrint(_L("E32Main entered\r\n"));
       
    55 	return 0;
       
    56 	}