AppInc/ImagicDocument.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 IMAGICDOCUMENT_H
       
    19 #define IMAGICDOCUMENT_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <akndoc.h>
       
    23    
       
    24 // FORWARD DECLARATIONS
       
    25 class  CEikAppUi;
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30 *  CImagicDocument application class.
       
    31 */
       
    32 class CImagicDocument : public CAknDocument
       
    33     {
       
    34     public: // Constructors and destructor
       
    35         /**
       
    36         * Two-phased constructor.
       
    37         */
       
    38         static CImagicDocument* NewL(CEikApplication& aApp);
       
    39 
       
    40         /**
       
    41         * Destructor.
       
    42         */
       
    43         virtual ~CImagicDocument();
       
    44 
       
    45     private:
       
    46 
       
    47         /**
       
    48         * EPOC default constructor.
       
    49         */
       
    50         CImagicDocument(CEikApplication& aApp);
       
    51         void ConstructL();
       
    52 
       
    53     private:
       
    54 
       
    55         /**
       
    56         * From CEikDocument, create CImagicAppUi "App UI" object.
       
    57         */
       
    58         CEikAppUi* CreateAppUiL();
       
    59     };
       
    60 
       
    61 #endif
       
    62 
       
    63 // End of File
       
    64