homemedia/homemedia/src/homemediaapplication.cpp
branchIOP_Improvements
changeset 40 08b5eae9f9ff
parent 39 6369bfd1b60d
child 41 b4d83ea1d6e2
equal deleted inserted replaced
39:6369bfd1b60d 40:08b5eae9f9ff
     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:      Main application class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 // INCLUDE FILES
       
    24 #include "homemediadocument.h"
       
    25 #include "homemediaapplication.h"
       
    26 
       
    27 // ============================ MEMBER FUNCTIONS ============================
       
    28 
       
    29 // --------------------------------------------------------------------------
       
    30 // CHomeMediaApplication::CreateDocumentL()
       
    31 // Creates CApaDocument object
       
    32 // --------------------------------------------------------------------------
       
    33 //
       
    34 CApaDocument* CHomeMediaApplication::CreateDocumentL()
       
    35     {
       
    36     // Create an homemedia document, and return a pointer to it
       
    37     return CHomeMediaDocument::NewL(*this);
       
    38     }
       
    39 
       
    40 // --------------------------------------------------------------------------
       
    41 // CHomeMediaApplication::AppDllUid()
       
    42 // Returns application UID
       
    43 // --------------------------------------------------------------------------
       
    44 //
       
    45 TUid CHomeMediaApplication::AppDllUid() const
       
    46     {
       
    47     // Return the UID for the homemedia application
       
    48     return KUidhomemediaApp;
       
    49     }
       
    50 
       
    51 // End of File