kernel/eka/euser/epoc/win32/uc_epoc.cpp
branchanywhere
changeset 94 f36eb4948686
parent 93 7c26c0978cbf
child 95 f561f9ae805b
equal deleted inserted replaced
93:7c26c0978cbf 94:f36eb4948686
    17 
    17 
    18 #include <e32std.h>
    18 #include <e32std.h>
    19 #include <e32std_private.h>
    19 #include <e32std_private.h>
    20 #include <e32wins.h>
    20 #include <e32wins.h>
    21 
    21 
       
    22 //#include <e32cmn.h>
       
    23 #include <nwdl.h>
       
    24 
    22 #if defined __SYMC__
    25 #if defined __SYMC__
    23 
    26 
    24 //SL: Empty on FCL ?
    27 //SL: Empty on FCL ?
    25 
    28 
    26 
    29 
    27 GLDEF_C TInt E32Main()
    30 GLDEF_C TInt E32Main()
    28 	{
    31 	{
    29 	//What do we do then
    32 	//What do we do then
    30 	User::InitProcess();
    33 	
       
    34 	__UHEAP_MARK;
    31 
    35 
    32 	//CBase* base=new(ELeave) CBase();
    36 	//CBase* base=new(ELeave) CBase();
    33 	CBase* base=new CBase();
    37 	CBase* base=new CBase();
    34 	delete base;
    38 	delete base;
       
    39 
       
    40 	TUint8* test=new TUint8[1024*9];
       
    41 	delete[] test;
       
    42 
       
    43 	__UHEAP_MARKEND;
    35 
    44 
    36 	return KErrNone;
    45 	return KErrNone;
    37 	}
    46 	}
    38 
    47 
    39 
    48 
    40 TInt main()
    49 TInt main()
    41 	{
    50 	{
       
    51 	User::InitProcess();
    42 	//BootEpoc(ETrue);
    52 	//BootEpoc(ETrue);
    43 	E32Main();
    53 	E32Main();
    44 
    54 
       
    55 	User::Exit(0);
    45 	return 0;
    56 	return 0;
    46 	}
    57 	}
    47 
    58 
    48 #endif
    59 #endif
    49 
    60