AppInc/ImagicApp.h
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 #ifndef IMAGICAPP_H
       
    19 #define IMAGICAPP_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <aknapp.h>
       
    23 #include "../group/UidList.txt"
       
    24 
       
    25 // CONSTANTS
       
    26 const TUid KUidImagic = { Imagic_UID3  }; //0xE1EF0018
       
    27 
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 * CImagicApp application class.
       
    33 * Provides factory to create concrete document object.
       
    34 * 
       
    35 */
       
    36 class CImagicApp : public CAknApplication
       
    37     {
       
    38     
       
    39     private:
       
    40 
       
    41         /**
       
    42         * From CApaApplication, creates CImagicDocument document object.
       
    43         * @return A pointer to the created document object.
       
    44         */
       
    45         CApaDocument* CreateDocumentL();
       
    46         
       
    47         /**
       
    48         * From CApaApplication, returns application's UID (KUidImagic).
       
    49         * @return The value of KUidImagic.
       
    50         */
       
    51         TUid AppDllUid() const;
       
    52     };
       
    53 
       
    54 #endif
       
    55 
       
    56 // End of File
       
    57