fotaapplication/fotaserver/FotaServer/inc/FotaSrvDocument.h
branchRCL_3
changeset 25 b183ec05bd8c
parent 24 13d7c31c74e0
child 26 19bba8228ff0
equal deleted inserted replaced
24:13d7c31c74e0 25:b183ec05bd8c
     1 /*
       
     2 * Copyright (c) 2005 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:   Header file for CFotaSrvDocument
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef CFOTASRVDOCUMENT_H
       
    22 #define CFOTASRVDOCUMENT_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <aknapp.h>
       
    26 #include <AknDoc.h>
       
    27 #include <eikenv.h>
       
    28 
       
    29 // FORWARD DECLARATIONS
       
    30 class CEikAppUi;
       
    31 class CEikEnv;
       
    32 class CNSmlDMSyncProfileList;
       
    33 
       
    34 // CLASS DECLARATION
       
    35 
       
    36 /**
       
    37  *  CFotaSrvDocument application class.
       
    38  *
       
    39  *  @lib    fotaserver
       
    40  *  @since  S60 v3.1
       
    41  */
       
    42 class CFotaSrvDocument : public CAknDocument
       
    43     {
       
    44 public: 
       
    45 
       
    46     /**
       
    47     * Two-phased constructor.
       
    48     */
       
    49     static CFotaSrvDocument* NewL(CAknApplication& aApp);
       
    50 
       
    51     /**
       
    52     * Destructor.
       
    53     */
       
    54     virtual ~CFotaSrvDocument();
       
    55 
       
    56 public: // New functions
       
    57 
       
    58 	/**
       
    59 	* Getter fo CEikAppUi class
       
    60 	* @param    None
       
    61 	* @return   Pointer to the CEikAppUi
       
    62 	*/
       
    63 	CEikAppUi* AppUi() const { return iAppUi; }
       
    64 
       
    65 private:
       
    66 
       
    67 
       
    68   	/**
       
    69 	* Constructor
       
    70 	* @param    aApp Used by akndocument
       
    71 	* @return   None
       
    72 	*/
       
    73     CFotaSrvDocument( CEikApplication& aApp ): CAknDocument( aApp ) { }
       
    74 
       
    75 
       
    76     void ConstructL();
       
    77 
       
    78 
       
    79   	/**
       
    80 	* From CEikDocument, create CFotaSrvUi "App UI" object.
       
    81 	* @param    None
       
    82 	* @return   UI
       
    83 	*/
       
    84     CEikAppUi* CreateAppUiL();
       
    85 
       
    86     
       
    87 private:
       
    88 
       
    89     /**
       
    90      * Reference to eikonenv
       
    91      * 
       
    92      */
       
    93 	//CEikonEnv*                          iEikEnv;
       
    94     };
       
    95 
       
    96 #endif
       
    97 
       
    98 // End of File