uifw/AvKon/tsrc/bc/bctestdom3.2/bctestdominputmethods/src/bctestdompeninputclient.cpp
changeset 0 2f259fa3e83a
child 21 558113899881
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     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:  Implementation for peninput client
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include <pticore.h>
       
    21 #include <ptihwrrecognizer.h>
       
    22 
       
    23 #include "bctestdompeninputclient.h"
       
    24 
       
    25 
       
    26 // ---------------------------------------------------------------------------
       
    27 // CBCTestHwrRecognizer::NewL
       
    28 // ---------------------------------------------------------------------------
       
    29 //   
       
    30 CBCTestDomHwrRecognizer* CBCTestDomHwrRecognizer::NewL( TInt aImpId )
       
    31     {
       
    32     CBCTestDomHwrRecognizer* self = 
       
    33                 static_cast< CBCTestDomHwrRecognizer* >( CHwrRecognizer::NewL( aImpId ) );
       
    34     return self;
       
    35     }
       
    36 
       
    37 // ---------------------------------------------------------------------------
       
    38 // CBCTestHwrRecognizer::IsSupportUdm
       
    39 // ---------------------------------------------------------------------------
       
    40 //   
       
    41 TBool CBCTestDomHwrRecognizer::IsSupportUdm()
       
    42     {
       
    43     return CHwrRecognizer::IsSupportUdm();
       
    44     }
       
    45     
       
    46 // ---------------------------------------------------------------------------
       
    47 // CBCTestHwrRecognizer::LoadUdmL
       
    48 // ---------------------------------------------------------------------------
       
    49 //   
       
    50 void CBCTestDomHwrRecognizer::LoadUdmL( TUdmType aType )   
       
    51     {
       
    52     CHwrRecognizer::LoadUdmL( aType );
       
    53     }
       
    54 
       
    55 // ---------------------------------------------------------------------------
       
    56 // CBCTestHwrRecognizer::UnLoadUdmL
       
    57 // ---------------------------------------------------------------------------
       
    58 //   
       
    59 void CBCTestDomHwrRecognizer::UnLoadUdmL( TUdmType aType )
       
    60     {
       
    61     CHwrRecognizer::UnLoadUdmL( aType );
       
    62     }
       
    63 
       
    64 // ---------------------------------------------------------------------------
       
    65 // CBCTestHwrRecognizer::GetModelIndexListL
       
    66 // ---------------------------------------------------------------------------
       
    67 //   
       
    68 void CBCTestDomHwrRecognizer::GetModelIndexListL( TUdmType aType, 
       
    69                              RArray<TInt>& aList, 
       
    70                              const THwrUdmRange& aRange )
       
    71     {
       
    72     CHwrRecognizer::GetModelIndexListL( aType, aList, aRange );
       
    73     }
       
    74 
       
    75 // ---------------------------------------------------------------------------
       
    76 // CBCTestHwrRecognizer::GetSymbolModelL
       
    77 // ---------------------------------------------------------------------------
       
    78 //   
       
    79 void CBCTestDomHwrRecognizer::GetSymbolModelL( TUdmType aType, 
       
    80                                             TInt aIndex, 
       
    81                                             TPtrC& aSymbolName,
       
    82                                             RArray<TPoint>& aModel, 
       
    83                                             TInt& aHelpLine, TInt& aBaseLine )
       
    84     {
       
    85     CHwrRecognizer::GetSymbolModelL( aType, 
       
    86                                      aIndex,  
       
    87                                      aSymbolName,
       
    88                                      aModel,
       
    89                                      aHelpLine, 
       
    90                                      aBaseLine );
       
    91     }
       
    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