textinput/peninputarc/gsplugin/peninputsetting/inc/peninputsettingAppui.h
changeset 0 eb1f2e154e89
equal deleted inserted replaced
-1:000000000000 0:eb1f2e154e89
       
     1 /*
       
     2 * Copyright (c) 2007 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:  UI class of CPenInputSettingAppUi
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_PENINPUTSETTINGAPPUI_H
       
    20 #define C_PENINPUTSETTINGAPPUI_H
       
    21 
       
    22 #include <aknViewAppUi.h>
       
    23 
       
    24 // Forward reference
       
    25 class CPenInputSettingAppView;
       
    26 class CGSPenInputPlugin;
       
    27 
       
    28 /**
       
    29  *  Instance of CPenInputSettingAppUi is the User Interface part of the AVKON
       
    30  *  application framework for the TrainingUI application
       
    31  *
       
    32  *  @code
       
    33  *   CEikAppUi* appUi = new (ELeave) CPenInputSettingAppUi;
       
    34  *  @endcode
       
    35  *
       
    36  *  @lib avkon.lib eikcore.lib eiksrv.lib
       
    37  */
       
    38 class CPenInputSettingAppUi : public CAknViewAppUi
       
    39     {
       
    40     
       
    41 public:
       
    42 
       
    43     /**
       
    44      * Symbian second-phase constructor
       
    45      *
       
    46      * @since S60 v3.2
       
    47      * @return None
       
    48      */      
       
    49     void ConstructL();
       
    50 
       
    51     /**
       
    52      * C++ default constructor
       
    53      *
       
    54      * @since S60 v3.2
       
    55      * @return None
       
    56      */        
       
    57     CPenInputSettingAppUi();
       
    58 
       
    59 
       
    60     /**
       
    61      * Destructor
       
    62      *
       
    63      * @since S60 v3.2
       
    64      * @return None
       
    65      */
       
    66     ~CPenInputSettingAppUi();
       
    67     inline TInt ParentWindowGroupId() const
       
    68         {
       
    69         return iParentWgId;
       
    70         };
       
    71 
       
    72 
       
    73 public: // from CAknAppUi
       
    74 
       
    75     /**
       
    76      * Handle user menu selections
       
    77      *
       
    78      * @param aCommand the enumerated code for the option selected
       
    79      */
       
    80     void HandleCommandL(TInt aCommand);
       
    81     TBool ProcessCommandParametersL(CApaCommandLine& aCommandLine);
       
    82     void HandleWsEventL(const TWsEvent& aEvent,CCoeControl* aDestination);
       
    83     
       
    84 private:
       
    85 
       
    86 	/**
       
    87      * The pointer to app view.
       
    88      *
       
    89      * Not own
       
    90      */
       
    91     CGSPenInputPlugin* iAppView;        
       
    92     
       
    93 	/**
       
    94      * Caller of the application
       
    95      *
       
    96      * Not own
       
    97      */    
       
    98     TUid iCallerUid;
       
    99     
       
   100 	/**
       
   101      * The pointer to the plugin loaded by ecom
       
   102      *
       
   103      * Not own
       
   104      */
       
   105     TUid iDynamicUid;
       
   106     TInt iParentWgId;
       
   107     };
       
   108 
       
   109 
       
   110 #endif // C_PENINPUTSETTINGAPPUI_H
       
   111