iaupdate/IAD/launcher/inc/iaupdatelauncherappui.h
branchRCL_3
changeset 25 7333d7932ef7
parent 24 5cc91383ab1e
child 26 8b7f4e561641
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
     1 /*
       
     2 * Copyright (c) 2008 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:   This file contains the header file of the CIAUpdateLauncherAppUi class 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __IAUPDATELAUNCHERAPPUI_H__
       
    22 #define __IAUPDATELAUNCHERAPPUI_H__
       
    23 
       
    24 // INCLUDES
       
    25 #include <aknappui.h>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class CIAUpdateLauncherManager;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 /**
       
    32 * CLauncherAppUi application UI class.
       
    33 * Interacts with the user through the UI and request message processing
       
    34 * from the handler class
       
    35 */
       
    36 class CIAUpdateLauncherAppUi : public CAknAppUi
       
    37                           
       
    38     {
       
    39     public: // Constructors and destructor
       
    40 
       
    41         /**
       
    42         * ConstructL.
       
    43         * 2nd phase constructor.
       
    44         */
       
    45         void ConstructL();
       
    46 
       
    47         /**
       
    48         * C++ default constructor. This needs to be public due to
       
    49         * the way the framework constructs the AppUi
       
    50         */
       
    51         CIAUpdateLauncherAppUi();
       
    52 
       
    53         /**
       
    54         * Virtual Destructor.
       
    55         */
       
    56         virtual ~CIAUpdateLauncherAppUi();
       
    57 
       
    58     private: // from CAknViewAppUi
       
    59     
       
    60          /*!
       
    61           * @function HandleCommandL  
       
    62           * @discussion Handle user menu selections
       
    63           * @param aCommand the enumerated code for the option selected
       
    64           */
       
    65         void HandleCommandL( TInt aCommand );
       
    66 
       
    67         
       
    68      private: // from CEikAppUi
       
    69         /**
       
    70         * @param aCommand - The shell command sent to the application
       
    71         * @param aDocumentName - The document name that will be given to 
       
    72         * OpenFileL()
       
    73         * @param aTail - The rest of the command line
       
    74         * @return Whether the final document name represents an existing file
       
    75         */
       
    76         TBool ProcessCommandParametersL( TApaCommand aCommand,
       
    77                                          TFileName& aDocumentName,
       
    78                                          const TDesC8& aTail );
       
    79 
       
    80         
       
    81     private: // Data
       
    82     
       
    83         CIAUpdateLauncherManager* iLauncherManager; 
       
    84         TBool iRefreshFromNetworkDenied;
       
    85     };
       
    86 
       
    87 #endif // __IAUPDATELAUNCHERAPPUI_H__
       
    88 
       
    89 // End of File
       
    90