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