textinput/peninputarc/src/peninputclient/peninputclient.cpp
branchRCL_3
changeset 20 ebd48d2de13c
parent 15 6c2c2d3ab788
child 21 ecbabf52600f
equal deleted inserted replaced
19:ac7e4d1d9209 20:ebd48d2de13c
    26 //
    26 //
    27 EXPORT_C RPeninputServer::RPeninputServer()
    27 EXPORT_C RPeninputServer::RPeninputServer()
    28     {
    28     {
    29     }
    29     }
    30 
    30 
    31 EXPORT_C TInt RPeninputServer::ConnectAsyc(TRequestStatus& aStatus)
       
    32     { 
       
    33     TInt err;
       
    34     TRAP(err, iSingletonServer = RPeninputServerImpl::NewL(&aStatus));    
       
    35     if( !iSingletonServer )   
       
    36         {
       
    37         return KErrGeneral;
       
    38         }
       
    39     //return iSingletonServer->ConnectAsync(status);
       
    40     return err;
       
    41     }
       
    42 EXPORT_C void RPeninputServer::SetDataQueryPopped(TBool aFlag)
       
    43 	{
       
    44 	iSingletonServer->SetDataQueryPopped(aFlag);
       
    45 	}
       
    46 // ---------------------------------------------------------------------------
    31 // ---------------------------------------------------------------------------
    47 // RPeninputServer::Connect
    32 // RPeninputServer::Connect
    48 // ---------------------------------------------------------------------------
    33 // ---------------------------------------------------------------------------
    49 //
    34 //
    50 EXPORT_C TInt RPeninputServer::Connect()
    35 EXPORT_C TInt RPeninputServer::Connect()
   248 
   233 
   249 // ---------------------------------------------------------------------------
   234 // ---------------------------------------------------------------------------
   250 // RPeninputServer::SupportInputMode
   235 // RPeninputServer::SupportInputMode
   251 // ---------------------------------------------------------------------------
   236 // ---------------------------------------------------------------------------
   252 //
   237 //
   253 EXPORT_C TInt RPeninputServer::SupportInputMode( TInt aLanguage )
   238 EXPORT_C TInt RPeninputServer::SupportInputMode()
   254     {
   239     {
   255     return iSingletonServer->SupportInputMode( aLanguage );
   240     return iSingletonServer->SupportInputMode();
   256     }
   241     }
   257 
       
   258 EXPORT_C TInt RPeninputServer::SetInputLanguage( TInt aLanguage )
       
   259 	{
       
   260 	return iSingletonServer->SetInputLanguage( aLanguage );
       
   261 	}
       
   262 
   242 
   263 // ---------------------------------------------------------------------------
   243 // ---------------------------------------------------------------------------
   264 // RPeninputServer::AddPeninputServerObserverL
   244 // RPeninputServer::AddPeninputServerObserverL
   265 // Add observer
   245 // Add observer
   266 // ---------------------------------------------------------------------------
   246 // ---------------------------------------------------------------------------
   502     
   482     
   503 EXPORT_C void RPeninputServer::SetResourceChange(TBool aFlag)  
   483 EXPORT_C void RPeninputServer::SetResourceChange(TBool aFlag)  
   504     {
   484     {
   505     iSingletonServer->SetResourceChange(aFlag);   
   485     iSingletonServer->SetResourceChange(aFlag);   
   506     }    
   486     }    
   507 
       
   508 EXPORT_C void RPeninputServer::EnablePriorityChangeOnOriChange(TBool aEnabled)
       
   509     {
       
   510 	iSingletonServer->EnablePriorityChangeOnOriChange(aEnabled);
       
   511 	}	
       
   512 //end of class RPeninputServer
   487 //end of class RPeninputServer
   513 // End of File
   488 // End of File