systemswuis/touchscreencalib/src/TouchScreenCalibApplication.cpp
branchRCL_3
changeset 14 5f281e37a2f5
parent 0 254040eb3b7d
equal deleted inserted replaced
13:90fe62538f66 14:5f281e37a2f5
       
     1 /*
       
     2 * Copyright (c) 2006 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:  
       
    15 *     This module implements the application core i.e. application
       
    16 *     class and standard exported functions
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 // INCLUDE FILES
       
    22 #include "TouchScreenCalibApplication.h"
       
    23 #include "TouchScreenCalibDocument.h"
       
    24 
       
    25 // ========================= MEMBER FUNCTIONS ================================
       
    26 
       
    27 // ---------------------------------------------------------------------------
       
    28 // CTouchScreenCalibApplication::AppDllUid()
       
    29 // Returns application UID
       
    30 // ---------------------------------------------------------------------------
       
    31 TUid CTouchScreenCalibApplication::AppDllUid() const
       
    32     {
       
    33     return KUidTouchScreenCalib;
       
    34     }
       
    35 
       
    36 // ---------------------------------------------------------------------------
       
    37 // CTouchScreenCalibApplication::CreateDocumentL()
       
    38 // Creates CTouchScreenCalibDocument object
       
    39 //
       
    40 // ---------------------------------------------------------------------------
       
    41 CApaDocument* CTouchScreenCalibApplication::CreateDocumentL()
       
    42     {
       
    43     return CTouchScreenCalibDocument::NewL(*this);
       
    44     }
       
    45 
       
    46 // ===================== OTHER EXPORTED FUNCTIONS ============================
       
    47 #include <eikstart.h>
       
    48 
       
    49 LOCAL_C CApaApplication* NewApplication()
       
    50     {
       
    51     return new CTouchScreenCalibApplication;
       
    52     }
       
    53 
       
    54 GLDEF_C TInt E32Main()
       
    55     {
       
    56     return EikStart::RunApplication(NewApplication);
       
    57     }
       
    58 
       
    59 // End of file