data/testpublisher/inc/testpublisherappUi.h
changeset 0 b856a9924bbc
equal deleted inserted replaced
-1:000000000000 0:b856a9924bbc
       
     1 /*
       
     2 * Copyright (c) {Year(s)} {Copyright owner}.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * {Name} {Company} ? Initial contribution
       
    11 *
       
    12 * Contributors:
       
    13 * {Name} {Company} ? {{Description of contribution}}
       
    14 *
       
    15 * Description:
       
    16 * {{Description of the file}}
       
    17 *
       
    18 */
       
    19 #ifndef __TESTPUBLISHERAPPUI_h__
       
    20 #define __TESTPUBLISHERAPPUI_h__
       
    21 
       
    22 // INCLUDES
       
    23 #include <aknappui.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CTestPublisherAppView;
       
    27 
       
    28 // CLASS DECLARATION
       
    29 /**
       
    30  * CTestPublisherAppUi application UI class.
       
    31  * Interacts with the user through the UI and request message processing
       
    32  * from the handler class
       
    33  */
       
    34 class CTestPublisherAppUi : public CAknAppUi
       
    35     {
       
    36 public:
       
    37     // Constructors and destructor
       
    38 
       
    39     /**
       
    40      * ConstructL.
       
    41      * 2nd phase constructor.
       
    42      */
       
    43     void ConstructL();
       
    44 
       
    45     /**
       
    46      * CTestPublisherAppUi.
       
    47      * C++ default constructor. This needs to be public due to
       
    48      * the way the framework constructs the AppUi
       
    49      */
       
    50     CTestPublisherAppUi();
       
    51 
       
    52     /**
       
    53      * ~CTestPublisherAppUi.
       
    54      * Virtual Destructor.
       
    55      */
       
    56     virtual ~CTestPublisherAppUi();
       
    57 
       
    58 private:
       
    59     // Functions from base classes
       
    60 
       
    61     /**
       
    62      * From CEikAppUi, HandleCommandL.
       
    63      * Takes care of command handling.
       
    64      * @param aCommand Command to be handled.
       
    65      */
       
    66     void HandleCommandL(TInt aCommand);
       
    67 
       
    68     /**
       
    69      *  HandleStatusPaneSizeChange.
       
    70      *  Called by the framework when the application status pane
       
    71      *  size is changed.
       
    72      */
       
    73     void HandleStatusPaneSizeChange();
       
    74 
       
    75 private:
       
    76     // Data
       
    77 
       
    78     /**
       
    79      * The application view
       
    80      * Owned by CTestPublisherAppUi
       
    81      */
       
    82     CTestPublisherAppView* iAppView;
       
    83 
       
    84     };
       
    85 
       
    86 #endif // __TESTPUBLISHERAPPUI_h__
       
    87 // End of File