AppSrc/ImagicApp.cpp
changeset 3 93fff7023be8
equal deleted inserted replaced
2:e1e28b0273b0 3:93fff7023be8
       
     1 /*
       
     2 * Copyright (c) 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: Juha Kauppinen, Mika Hokkanen
       
    13 * 
       
    14 * Description: Photo Browser
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include    "ImagicApp.h"
       
    21 #include    "ImagicDocument.h"
       
    22 
       
    23  
       
    24 
       
    25 // ================= MEMBER FUNCTIONS =======================
       
    26 
       
    27 // ---------------------------------------------------------
       
    28 // CImagicApp::AppDllUid()
       
    29 // Returns application UID
       
    30 // ---------------------------------------------------------
       
    31 //
       
    32 TUid CImagicApp::AppDllUid() const
       
    33     {
       
    34     return KUidImagic;
       
    35     }
       
    36 
       
    37    
       
    38 // ---------------------------------------------------------
       
    39 // CImagicApp::CreateDocumentL()
       
    40 // Creates CImagicDocument object
       
    41 // ---------------------------------------------------------
       
    42 //
       
    43 CApaDocument* CImagicApp::CreateDocumentL()
       
    44     {
       
    45  
       
    46        return (static_cast<CApaDocument*>
       
    47                        ( CImagicDocument::NewL( *this ) ) );
       
    48     }
       
    49 
       
    50 
       
    51 
       
    52 
       
    53     
       
    54 
       
    55 // End of File  
       
    56