openvg/openvgrefimplementation/sfopenvg/test/inc/tigerDocument.h
changeset 43 7579f232bae7
equal deleted inserted replaced
36:01a6848ebfd7 43:7579f232bae7
       
     1 /*
       
     2 * Copyright (c) 2009 Symbian Foundation Ltd
       
     3 * This component and the accompanying materials are made available
       
     4 * under the terms of the License "Eclipse Public License v1.0"
       
     5 * which accompanies this distribution, and is available
       
     6 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 *
       
     8 * Initial Contributors:
       
     9 * Symbian Foundation Ltd - initial contribution.
       
    10 * 
       
    11 * Contributors:
       
    12 *
       
    13 * Description:
       
    14 * Tiger app document class
       
    15 */
       
    16 
       
    17 #ifndef TIGERDOCUMENT_H
       
    18 #define TIGERDOCUMENT_H
       
    19 
       
    20 // INCLUDES
       
    21 #include <akndoc.h>
       
    22 
       
    23 // FORWARD DECLARATIONS
       
    24 class  CEikAppUi;
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29  * Document class that is just used as the container for the application
       
    30  * (as required by the Symbian UI application architecture).
       
    31  */
       
    32 class CTigerDocument : public CAknDocument
       
    33     {
       
    34     public: // Constructors and destructor
       
    35 
       
    36         /**
       
    37          * Factory method for creating a new CTigerDocument object.
       
    38          */
       
    39         static CTigerDocument* NewL(CEikApplication& aApp);
       
    40 
       
    41         /**
       
    42          * Destructor. Does nothing.
       
    43          */
       
    44         virtual ~CTigerDocument();
       
    45 
       
    46     private:  // Functions from base classes
       
    47 
       
    48         /**
       
    49          * C++ constructor. Just passes the given application reference to the baseclass.
       
    50          */
       
    51         CTigerDocument(CEikApplication& aApp);
       
    52 
       
    53         /**
       
    54          * Second phase constructor. Does nothing.
       
    55          */
       
    56         void ConstructL();
       
    57 
       
    58     private: // New functions
       
    59 
       
    60         /**
       
    61          * From CEikDocument, creates and returns CTigerAppUi application UI object.
       
    62          */
       
    63         CEikAppUi* CreateAppUiL();
       
    64     };
       
    65 
       
    66 #endif
       
    67 
       
    68 // End of File
       
    69