notepad/notepad1/ViewerInc/NpdViewerApp.h
changeset 89 b57382753122
parent 0 f979ecb2b13e
equal deleted inserted replaced
83:5aadd1120515 89:b57382753122
       
     1 /*
       
     2 * Copyright (c) 2002 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:  Declarations for Notepad Viewer Application class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef NOTEPADVIEWERAPP_H
       
    20 #define NOTEPADVIEWERAPP_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <aknapp.h>
       
    24 #include <NpdApi.h>
       
    25 #include "NpdViewer.hrh"
       
    26 
       
    27 // CONSTANTS
       
    28 const TUid KUidNpdViewer = { NPDVIEWER_UID };
       
    29 
       
    30 // CLASS DECLARATION
       
    31 /**
       
    32 * Notepad application class.
       
    33 * CNotepadViewerApp application class.
       
    34 * Provides factory to create concrete document object.
       
    35 * 
       
    36 */
       
    37 class CNotepadViewerApp : public CAknApplication
       
    38     {
       
    39     private: // Functions from base classes
       
    40 
       
    41         /**
       
    42         * From CApaApplication.
       
    43         * Creates CNotepadViewerDocument document object.
       
    44         *
       
    45         * @return A pointer to the created document object.
       
    46         */
       
    47         CApaDocument* CreateDocumentL();
       
    48         
       
    49         /**
       
    50         * From CApaApplication.
       
    51         * returns application's UID (KUidNpdViewer).
       
    52         *
       
    53         * @return The value of KUidNpdViewer.
       
    54         */
       
    55         TUid AppDllUid() const;
       
    56     };
       
    57 
       
    58 #endif // NOTEPADVIEWERAPP_H
       
    59 
       
    60 // End of File