exampleapps/alfexstickers/inc/alfexstickersappui.h
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __ALFEXSTICKERS_APPUI_H__
       
    22 #define __ALFEXSTICKERS_APPUI_H__
       
    23 
       
    24 #include <aknappui.h>
       
    25 
       
    26 /* Forward declarations. */
       
    27 class CAlfEnv;
       
    28 
       
    29 /** 
       
    30  * @class CAlfExStickersAppUi
       
    31  * 
       
    32  * @discussion An instance of class CAlfExStickersAppUi is the UserInterface part of the AVKON
       
    33  * application framework for the AlfExStickers example application
       
    34  */
       
    35 class CAlfExStickersAppUi : public CAknAppUi
       
    36     {
       
    37 public:
       
    38 	/**
       
    39 	 * @function ConstructL
       
    40 	 * 
       
    41 	 * @discussion Perform the second phase construction of a CAlfExStickersAppUi object
       
    42 	 * this needs to be public due to the way the framework constructs the AppUi 
       
    43 	 */
       
    44     void ConstructL();
       
    45 
       
    46 
       
    47     /**
       
    48      * @function CAlfExStickersAppUi
       
    49      * 
       
    50      * @discussion Perform the first phase of two phase construction.
       
    51      * This needs to be public due to the way the framework constructs the AppUi 
       
    52      */
       
    53     CAlfExStickersAppUi();
       
    54 
       
    55     /**
       
    56      * @function ~CAlfExStickersAppUi
       
    57      * 
       
    58      * @discussion Destroy the object and release all memory objects
       
    59      */
       
    60     ~CAlfExStickersAppUi();
       
    61 
       
    62 
       
    63 public: // from CAknAppUi
       
    64 	/**
       
    65 	 * @function HandleCommandL
       
    66 	 * 
       
    67 	 * @discussion Handle user menu selections.
       
    68 	 * @param aCommand the enumerated code for the option selected
       
    69 	 */
       
    70     void HandleCommandL(TInt aCommand);
       
    71     
       
    72     /*
       
    73      * @function HandleResourceChangeL
       
    74      * 
       
    75      * @discussion Handles layout changes.
       
    76      */
       
    77     virtual void HandleResourceChangeL( TInt aType );
       
    78     
       
    79     /*
       
    80      * @function HandleWsEventL
       
    81      * 
       
    82      * @discussion Handle releasing/restoring of bitmaps, textures etc.
       
    83      */
       
    84     void HandleWsEventL(const TWsEvent &aEvent, CCoeControl* aDestination);
       
    85 
       
    86 private:
       
    87     CAlfEnv* iEnv;
       
    88     // file server session handle
       
    89     };
       
    90 
       
    91 
       
    92 #endif // __ALFEXSTICKERS_APPUI_H__
       
    93