graphicstest/uibench/s60/testlauncher/src/testlauncherapplication.cpp
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1  // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2  // All rights reserved.
       
     3  // This component and the accompanying materials are made available
       
     4  // under the terms of "Eclipse Public License v1.0"
       
     5  // which accompanies this distribution, and is available
       
     6  // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7  //
       
     8  // Initial Contributors:
       
     9  // Nokia Corporation - initial contribution.
       
    10  //
       
    11  // Contributors:
       
    12  //
       
    13  // Description:
       
    14  //
       
    15 
       
    16 
       
    17 #include "testlauncherdocument.h"
       
    18 #include "testlauncherapplication.h"
       
    19 
       
    20 
       
    21 // UID for the application;
       
    22 // this should correspond to the uid defined in the mmp file
       
    23 const TUid KUidHelloWorldBasicApp = { 0xA0000180 };
       
    24 
       
    25 // Creates CApaDocument object
       
    26 CApaDocument* CHelloWorldBasicApplication::CreateDocumentL()
       
    27     {
       
    28     // Create an HelloWorldBasic document, and return a pointer to it
       
    29     return (static_cast<CApaDocument*>(CHelloWorldBasicDocument::NewL(*this)));
       
    30     }
       
    31 
       
    32 // CHelloWorldBasicApplication::AppDllUid()
       
    33 TUid CHelloWorldBasicApplication::AppDllUid() const
       
    34     {
       
    35     // Return the UID for the HelloWorldBasic application
       
    36     return KUidHelloWorldBasicApp;
       
    37     }