uifw/AvKon/tsrc/bc/bctestdom3.2/bctestdominputmethods/src/bctestdompeninputclient.cpp
changeset 21 558113899881
parent 0 2f259fa3e83a
equal deleted inserted replaced
14:3320e4e6e8bb 21:558113899881
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 // INCLUDE FILES
    19 // INCLUDE FILES
    20 #include <pticore.h>
       
    21 #include <ptihwrrecognizer.h>
       
    22 
    20 
       
    21 #include "peninputclient.h"
    23 #include "bctestdompeninputclient.h"
    22 #include "bctestdompeninputclient.h"
    24 
    23 
       
    24 // ---------------------------------------------------------------------------
       
    25 // CMPenUiA::CMPenUiA
       
    26 // ---------------------------------------------------------------------------
       
    27 //   
       
    28 CMPenUiA::CMPenUiA()
       
    29     {
       
    30     }
       
    31 
       
    32 // ---------------------------------------------------------------------------
       
    33 // CMPenUiA::OnPeninputUiDeactivated
       
    34 // ---------------------------------------------------------------------------
       
    35 //   
       
    36 void CMPenUiA::OnPeninputUiDeactivated()
       
    37     {
       
    38     }
       
    39 
       
    40 // ---------------------------------------------------------------------------
       
    41 // CMPenUiA::OnPeninputUiActivated
       
    42 // ---------------------------------------------------------------------------
       
    43 //   
       
    44 void CMPenUiA::OnPeninputUiActivated()
       
    45     {
       
    46     }
       
    47     
       
    48 // ---------------------------------------------------------------------------
       
    49 // CPenUiNotificationHandler::NewL
       
    50 // ---------------------------------------------------------------------------
       
    51 //   
       
    52 CPenUiNotificationHandler* CPenUiNotificationHandler::NewL(
       
    53                                             MPenUiActivationHandler* aHandler,
       
    54                                             RPeninputServer* aClient )
       
    55     {
       
    56     CPenUiNotificationHandler* self = new ( ELeave ) 
       
    57                                     CPenUiNotificationHandler( aHandler, aClient );
       
    58     CleanupStack::PushL( self );
       
    59     self->ConstructL();
       
    60     CleanupStack::Pop( self );
       
    61     return self;
       
    62     }
       
    63     
       
    64 // ---------------------------------------------------------------------------
       
    65 // CPenUiNotificationHandler::CPenUiNotificationHandler
       
    66 // ---------------------------------------------------------------------------
       
    67 //   
       
    68 CPenUiNotificationHandler::CPenUiNotificationHandler(
       
    69                     MPenUiActivationHandler* aHandler,RPeninputServer* aClient)
       
    70                     : iHandler( aHandler ), iClient( aClient )
       
    71     {    
       
    72     }
       
    73 
       
    74 // ---------------------------------------------------------------------------
       
    75 // CPenUiNotificationHandler::ConstructL
       
    76 // ---------------------------------------------------------------------------
       
    77 //   
       
    78 void CPenUiNotificationHandler::ConstructL()
       
    79     {
       
    80     }
       
    81     
       
    82     
       
    83 // ---------------------------------------------------------------------------
       
    84 // CPenUiNotificationHandler::HandleServerEventL
       
    85 // ---------------------------------------------------------------------------
       
    86 //   
       
    87 TBool CPenUiNotificationHandler::HandleServerEventL( TInt /*aEventId*/ )
       
    88     {
       
    89     return ETrue;
       
    90     }
    25 
    91 
    26 // ---------------------------------------------------------------------------
    92 // ---------------------------------------------------------------------------
    27 // CBCTestHwrRecognizer::NewL
    93 // CBCTestHwrRecognizer::NewL
    28 // ---------------------------------------------------------------------------
    94 // ---------------------------------------------------------------------------
    29 //   
    95 //   
    87                                      aSymbolName,
   153                                      aSymbolName,
    88                                      aModel,
   154                                      aModel,
    89                                      aHelpLine, 
   155                                      aHelpLine, 
    90                                      aBaseLine );
   156                                      aBaseLine );
    91     }
   157     }
    92     
       
    93 // ---------------------------------------------------------------------------
       
    94 // From class CPtiCore. 
       
    95 // Bceause the api is not IMPORT_C, implemented for get iDtorKeyId.
       
    96 // ---------------------------------------------------------------------------
       
    97 //   
       
    98 TInt CPtiCore::DestructorKeyId() const
       
    99 	{
       
   100 	return iDtorKeyId;	
       
   101 	}
       
   102 
       
   103 // End of File
   158 // End of File