loadgen/ui/avkon/inc/loadgen_document.h
changeset 55 2d9cac8919d3
parent 53 819e59dfc032
child 56 392f7045e621
equal deleted inserted replaced
53:819e59dfc032 55:2d9cac8919d3
     1 /*
       
     2 * Copyright (c) 2010 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 #ifndef LOADGEN_DOCUMENT_H
       
    20 #define LOADGEN_DOCUMENT_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <AknDoc.h>
       
    24    
       
    25 // CONSTANTS
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class CEikAppUi;
       
    29 class CLoadGenModel;
       
    30 
       
    31 
       
    32 // CLASS DECLARATION
       
    33 
       
    34 /**
       
    35 *  CLoadGenDocument application class.
       
    36 */
       
    37 class CLoadGenDocument : public CAknDocument
       
    38     {
       
    39     public: // Constructors and destructor
       
    40         static CLoadGenDocument* NewL(CEikApplication& aApp);
       
    41         virtual ~CLoadGenDocument();
       
    42 
       
    43     public: // New functions
       
    44 
       
    45     public:// from CEikDocument
       
    46     CFileStore* OpenFileL(TBool aDoOpen,const TDesC& aFilename,RFs& aFs);
       
    47     protected:  // New functions
       
    48 
       
    49     protected:  // Functions from base classes
       
    50 
       
    51     private:
       
    52 
       
    53         /**
       
    54         * EPOC default constructor.
       
    55         */
       
    56         CLoadGenDocument(CEikApplication& aApp);
       
    57         void ConstructL();
       
    58 
       
    59     private:
       
    60 
       
    61         /**
       
    62         * From CEikDocument, create CLoadGenAppUi "App UI" object.
       
    63         */
       
    64         CEikAppUi* CreateAppUiL();
       
    65 
       
    66     public:
       
    67         inline CLoadGenModel* Model() { return iModel; }
       
    68 
       
    69     private:
       
    70         CLoadGenModel* iModel;
       
    71 
       
    72     };
       
    73 
       
    74 #endif
       
    75 
       
    76 // End of File
       
    77