nettools/conntest/src/ConnTestApp.cpp
changeset 0 857a3e953887
equal deleted inserted replaced
-1:000000000000 0:857a3e953887
       
     1 /*
       
     2 * Copyright (c) 2006-2009 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: The application class for ConnTest
       
    15 *
       
    16 */
       
    17 
       
    18 // INCLUDE FILES
       
    19 #include <eikstart.h>
       
    20 #include    "ConnTestApp.h"
       
    21 #include    "ConnTestDocument.h"
       
    22 
       
    23 // ================= OTHER EXPORTED FUNCTIONS ==============
       
    24 //
       
    25 // ---------------------------------------------------------
       
    26 // NewApplication() 
       
    27 // Constructs CConnTestApp
       
    28 // Returns: created application object
       
    29 // ---------------------------------------------------------
       
    30 //
       
    31 LOCAL_C CApaApplication* NewApplication()
       
    32     {
       
    33     return new CConnTestApp;
       
    34     }
       
    35 
       
    36 GLDEF_C TInt E32Main()
       
    37     {
       
    38     RDebug::Print(_L("ConnTest: E32Main()"));
       
    39     return EikStart::RunApplication(NewApplication);
       
    40     }
       
    41 
       
    42 // ================= MEMBER FUNCTIONS =======================
       
    43 // ---------------------------------------------------------
       
    44 // CConnTestApp::AppDllUid()
       
    45 // Returns application UID
       
    46 // ---------------------------------------------------------
       
    47 //
       
    48 TUid CConnTestApp::AppDllUid() const
       
    49     {
       
    50     return KUidConnTest;
       
    51     }
       
    52 
       
    53    
       
    54 // ---------------------------------------------------------
       
    55 // CConnTestApp::CreateDocumentL()
       
    56 // Creates CConnTestDocument object
       
    57 // ---------------------------------------------------------
       
    58 //
       
    59 CApaDocument* CConnTestApp::CreateDocumentL()
       
    60     {
       
    61     return CConnTestDocument::NewL( *this );
       
    62     }
       
    63 
       
    64 // ---------------------------------------------------------
       
    65 // E32Dll(TDllReason) 
       
    66 // Entry point function for EPOC Apps
       
    67 // Returns: KErrNone: No error
       
    68 // ---------------------------------------------------------
       
    69 //
       
    70 /*
       
    71 GLDEF_C TInt E32Dll( TDllReason )
       
    72 {
       
    73     return KErrNone;
       
    74 }
       
    75 */
       
    76 // End of File  
       
    77