sdkcreationmw/sdkexamples/cppexamples/S60Ex/TouchEx/TactileExample/src/tactileexampleapplication.cpp
changeset 0 b26acd06ea60
child 1 ac50fd48361b
equal deleted inserted replaced
-1:000000000000 0:b26acd06ea60
       
     1 /*
       
     2 * Copyright (c) 2008 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 of main application class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include "tactileexampledocument.h"
       
    21 #include "tactileexampleapplication.h"
       
    22 
       
    23 // ============================ MEMBER FUNCTIONS =============================
       
    24 
       
    25 // UID for the application;
       
    26 // this should correspond to the uid defined in the mmp file
       
    27 const TUid KUidTactileExampleApp = { 0xA0000282 };
       
    28 
       
    29 
       
    30 // ---------------------------------------------------------------------------
       
    31 // From class CApaApplication.
       
    32 // Returns application UID
       
    33 // ---------------------------------------------------------------------------
       
    34 //
       
    35 TUid CTactileExampleApplication::AppDllUid() const
       
    36     {
       
    37     // Return the UID for the TactileExample application
       
    38     return KUidTactileExampleApp;
       
    39     }
       
    40 
       
    41 
       
    42 // ---------------------------------------------------------------------------
       
    43 // From class CApaApplication.
       
    44 // Creates CApaDocument object
       
    45 // ---------------------------------------------------------------------------
       
    46 //
       
    47 CApaDocument* CTactileExampleApplication::CreateDocumentL()
       
    48     {
       
    49     // Create an TactileExample document, and return a pointer to it
       
    50     return new ( ELeave ) CTactileExampleDocument( *this );
       
    51     }
       
    52 // End of File