RPeninputServer Class Reference
Constructor & Destructor Documentation
RPeninputServer()
IMPORT_C | RPeninputServer | ( | ) | |
Member Functions Documentation
ActivateLayout(TBool)
IMPORT_C void | ActivateLayout | ( | TBool | aFlag | ) | |
Activate/Deactivate the layout
Parameters
TBool aFlag | The activation flag. ETrue if activated |
ActivatePeninputInNotesL()
IMPORT_C void | ActivatePeninputInNotesL | ( | ) | |
AddPenUiActivationHandler(MPenUiActivationHandler *, TInt)
Add pen input UI activation observer. Only one handler can be added. If need to change the handler, the old handler must be first removed.
Parameters
MPenUiActivationHandler * aHandler | The callback handler when pen input UI activated/deactivated |
TInt aType | The pen ui type to be handled. The available type is defined in TPenInputUiType |
AddPeninputServerObserverL(MPeninputServerEventHandler *)
Add server observer. An observer will be notified when server has event
BackgroudDefaultOri(TInt)
IMPORT_C void | BackgroudDefaultOri | ( | TInt | aOri | ) | |
ClearServerEvent()
IMPORT_C void | ClearServerEvent | ( | ) | |
ClearTouchUI()
IMPORT_C void | ClearTouchUI | ( | ) | |
Close()
Closes the connection to the server.
Connect()
Makes a connection to the server.
ConnectAsyc(TRequestStatus &)
DimUiLayout(TBool)
IMPORT_C void | DimUiLayout | ( | TBool | aFlag | ) | |
Parameters
TBool aFlag | The dim flag. ETrue if going to dim the ui layout |
DisabledLayout()
IMPORT_C TInt | DisabledLayout | ( | ) | |
EnablePriorityChangeOnOriChange(TBool)
IMPORT_C void | EnablePriorityChangeOnOriChange | ( | TBool | aEnabled | ) | |
GetImePluginIdListL(TInt, TInt, RArray< TInt > &)
IMPORT_C void | GetImePluginIdListL | ( | TInt | aLanguage, |
| TInt | aPluginMode, |
| RArray< TInt > & | aImplmentationIds |
| ) | |
Return requried Ime plugin list
Parameters
TInt aLanguage | The required supporting language |
TInt aPluginMode | The required supporting mode |
RArray< TInt > & aImplmentationIds | A reference to a client owned array which will be filled with IME plugin implementation. |
GetServerEventData(TDes &)
IMPORT_C TInt | GetServerEventData | ( | TDes & | aBuf | ) | |
Get server event data. When server oberver got a event notification, it calls this to get data
Parameters
TDes & aBuf | buf to save the event data on return |
HandleCommand(TInt, const TDesC8 &)
HandleCommandL, handle command from client
Parameters
TInt aCmd | The commandid |
const TDesC8 & aBuf | Command data |
HandleCommand(TInt)
HandleCommandL, handle command from client
HandleCommand(TInt, const TDesC8 &, TInt &)
HandleCommandL, handle command from client
Parameters
TInt aCmd | The commandid |
const TDesC8 & aBuf | Command data |
TInt & aResult | The result of layout handle |
IsDimmed()
Get PENINPUT UI dim status
IsForeground()
IMPORT_C TBool | IsForeground | ( | ) | |
Test whether this session is the forground application session
IsVisible()
IMPORT_C TBool | IsVisible | ( | ) | |
Get PENINPUT UI visibility
LoseForeground()
IMPORT_C void | LoseForeground | ( | ) | |
Indicates current client lost foregound.
PenSupportLanguagesL(RArray< TInt > &)
IMPORT_C void | PenSupportLanguagesL | ( | RArray< TInt > & | aLanguageLists | ) | |
Return all supporing touch input languages
Parameters
RArray< TInt > & aLanguageLists | A reference to a client owned array which will be filled with supporting languages. |
RemovePenUiActivationHandler()
IMPORT_C void | RemovePenUiActivationHandler | ( | ) | |
Remove all pen input UI activation observer
RemovePenUiActivationHandler(MPenUiActivationHandler *)
Remove a pen input UI activation observer
RemovePeninputServerObserver()
IMPORT_C void | RemovePeninputServerObserver | ( | ) | |
Remove all pen input observer
RemovePeninputServerObserver(MPeninputServerEventHandler *)
Remove pen input observer
ResourceChanged(TInt)
IMPORT_C void | ResourceChanged | ( | TInt | aType | ) | |
Called when resource changed, e.g, screen size changed. To inform layout that resource change event.
ServerEventDataNum()
IMPORT_C TInt | ServerEventDataNum | ( | ) | |
Get current pended server event number
SetAutoOpen(TBool)
IMPORT_C void | SetAutoOpen | ( | TBool | aFlag | ) | |
SetDataQueryPopped(TBool)
IMPORT_C void | SetDataQueryPopped | ( | TBool | aFlag | ) | |
SetDisabledLayout(TInt)
IMPORT_C void | SetDisabledLayout | ( | TInt | aLayouts | ) | |
SetDisplayMode(TDisplayMode, TDisplayMode)
SetEditorPriority(TInt)
IMPORT_C void | SetEditorPriority | ( | TInt | aFlag | ) | |
SetForeground(TBool)
IMPORT_C TBool | SetForeground | ( | TBool | aMustConnectFlag | ) | |
Set foreground application session. Only foreground app session can change the pen input UI attribute. Such command from other session will be discarded by server.
Parameters
TBool aMustConnectFlag | If ETrue, the set will always success. If EFalse, operation depends on whether current app is the foreground application. |
SetGlobalNotes(TBool)
IMPORT_C void | SetGlobalNotes | ( | TBool | aFlag | ) | |
SetInputLanguage(TInt)
IMPORT_C TInt | SetInputLanguage | ( | TInt | aLanguage | ) | |
Parameters
TInt aLanguage | The input lanuage Id |
SetInternalPopUp(TBool)
IMPORT_C void | SetInternalPopUp | ( | TBool | aFlag | ) | |
SetPreferredUiMode(TPluginInputMode)
SetResourceChange(TBool)
IMPORT_C void | SetResourceChange | ( | TBool | aFlag | ) | |
SetUiLayoutId(TUid)
Set UI layout id. It will create the UI by the Id
SetUiLayoutId(TUid, const TDesC8 &)
Parameters
TUid aId | The layout Id |
const TDesC8 & aData | The data associated with the layout creation |
SetUiLayoutPos(const TPoint &)
Parameters
const TPoint & aPos | The layout position |
SupportInputMode(TInt)
IMPORT_C TInt | SupportInputMode | ( | TInt | aLanguage | ) | |
UiLayoutSize()
IMPORT_C TSize | UiLayoutSize | ( | ) | |
UpdateAppInfo(const TDesC &, TPeninputAppInfo)
Version()
Returns the version information of the server.
Member Data Documentation
RPeninputServerImpl * iSingletonServer
RPeninputServerImpl * | iSingletonServer | [private] |
The singleton client to the input server
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.