multimediacommsengine/tsrc/testdriver/testclient/filehandler/src/E32main.cpp
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Implementation
       
    15 *
       
    16 */
       
    17 
       
    18 #include "CTcFileHandlerServer.h"
       
    19 
       
    20 #if ( ( defined (__WINS__) || defined(__WINSCW__) ) && !defined (EKA2) )
       
    21 
       
    22 EXPORT_C TInt WinsMain()
       
    23     {
       
    24 	return reinterpret_cast<TInt>( &CTcFileHandlerServer::ThreadMain );
       
    25     }
       
    26 
       
    27 TInt E32Dll( TDllReason ) 
       
    28     {
       
    29     return KErrNone; 
       
    30     }
       
    31 
       
    32 #else
       
    33 
       
    34 TInt E32Main() 
       
    35     { 
       
    36     return CTcFileHandlerServer::ThreadMain( NULL );
       
    37     }
       
    38 
       
    39 #endif