screengrabber/inc/SGApp.h
branchRCL_3
changeset 21 b3cee849fa46
parent 20 48060abbbeaf
child 22 fad26422216a
equal deleted inserted replaced
20:48060abbbeaf 21:b3cee849fa46
     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:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef SCREENGRABBERAPP_H
       
    21 #define SCREENGRABBERAPP_H
       
    22 
       
    23 
       
    24 // INCLUDES
       
    25 #include <aknapp.h>
       
    26 
       
    27 // CONSTANTS
       
    28 // UID of the application
       
    29 const TUid KUidScreenGrabber = { 0x101FB751 };
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 * CScreenGrabberApp application class.
       
    35 * Provides factory to create concrete document object.
       
    36 * 
       
    37 */
       
    38 class CScreenGrabberApp : public CAknApplication
       
    39     {
       
    40     
       
    41     public: // Functions from base classes
       
    42         /**
       
    43         * From CApaApplication, overridden to enable INI file support.
       
    44         * @return A pointer to the dictionary store
       
    45         */
       
    46     CDictionaryStore* OpenIniFileLC(RFs& aFs) const;
       
    47     private:
       
    48 
       
    49         /**
       
    50         * From CApaApplication, creates CScreenGrabberDocument document object.
       
    51         * @return A pointer to the created document object.
       
    52         */
       
    53         CApaDocument* CreateDocumentL();
       
    54         
       
    55         /**
       
    56         * From CApaApplication, returns application's UID (KUidScreenGrabber).
       
    57         * @return The value of KUidScreenGrabber.
       
    58         */
       
    59         TUid AppDllUid() const;
       
    60     };
       
    61 
       
    62 #endif
       
    63 
       
    64 // End of File
       
    65