RAknUiServer Class Reference

class RAknUiServer : public REikAppServiceBase
Public Member Functions
IMPORT_C TIntBlankScreen()
IMPORT_C TIntBlockServerStatusPaneRedraws()
IMPORT_C voidCancelDynamicSoftNoteEventNotification()
IMPORT_C voidCancelShutdownApps()
IMPORT_C voidCancelUnlockMedia()
IMPORT_C TIntConnect()
IMPORT_C TIntConnectAndSendAppsKeySuppress(TBool)
IMPORT_C TIntCreateActivateViewEventL(const TVwsViewId &, TUid, const TDesC8 &)
IMPORT_C TIntCurrentAppStatuspaneResource()
IMPORT_C voidDoDiscreetPopupAction(TAknDiscreetPopupData *, TRequestStatus *)
IMPORT_C TIntDoEikonServerConnect()
IMPORT_C TIntDoNotifierControllerCommand(TInt)
IMPORT_C TIntEnableTaskList(TBool)
IMPORT_C TIntGetAliasKeyCode(TUint &, const TKeyEvent &, TEventCode)
IMPORT_C const TRectGetInUseGlobalDiscreetPopupRect()
IMPORT_C HBufC8 *GetPackedConfigL()
IMPORT_C TIntGetPhoneIdleViewId(TVwsViewId &)
IMPORT_C TIntHideApplicationFromFsw(TBool, TInt)
IMPORT_C TIntHideLongTapAnimation()
IMPORT_C TIntIsSystemFaded(TBool &)
IMPORT_C TIntMakeTaskListVisible(TBool)
IMPORT_C TIntMoveAppInZOrder(TInt, TBool)
IMPORT_C voidNotifyDynamicSoftNoteEvent(TRequestStatus &, TDes8 &)
IMPORT_C TIntPreAllocateDynamicSoftNoteEvent(TInt)
IMPORT_C TIntPrepareForAppExit(TInt)
IMPORT_C TIntRedrawServerStatusPane()
IMPORT_C TIntRelinquishPriorityToForegroundApp()
IMPORT_C TIntRotateScreen()
IMPORT_C TIntSetCurrentAppStatuspaneResource(TInt)
IMPORT_C TIntSetFgSpDataSubscriberId(TInt)
IMPORT_C TIntSetKeyblockMode(TAknKeySoundOpcode)
IMPORT_C TIntSetKeyboardRepeatRate(TAknDefaultKeyboardRepeatRate)
IMPORT_C TIntSetSgcParams(TInt, TBitFlags, TInt, TInt)
IMPORT_C TIntSetSgcParams(TInt, TBitFlags, TInt, TInt, TInt)
IMPORT_C TIntSetStatusPaneFlags(TInt)
IMPORT_C TIntSetStatusPaneLayout(TInt)
IMPORT_C TIntSetSystemFaded(TBool)
IMPORT_C TIntShowGlobalNoteL(const TDesC &, TInt)
IMPORT_C TIntShowKeysLockedNote(TBool &)
IMPORT_C TIntShowLongTapAnimation(const TPointerEvent &)
IMPORT_C voidShutdownApps(const TUid, const TInt, TRequestStatus &)
IMPORT_C voidStartAknCapserverL()
IMPORT_C TIntStatusPaneResourceId()
IMPORT_C TBoolTaskSwitchingSupressed()
IMPORT_C TIntUnblankScreen()
IMPORT_C voidUnlockMedia(TInt, TBool, TRequestStatus &)
IMPORT_C TIntUpdateTaskList()
Private Member Functions
TInt ConnectAknServer()
IMPORT_C TUidServiceUid()
Inherited Functions
RApaAppServiceBase::CancelNotifyServerExit()const
RApaAppServiceBase::ConnectExistingAppL(const RApaAppServiceBase &)
RApaAppServiceBase::ConnectExistingAppL(const RApaAppServiceBase &,const TSecurityPolicy &)
RApaAppServiceBase::ConnectExistingByNameL(const TDesC &)
RApaAppServiceBase::ConnectExistingByNameL(const TDesC &,const TSecurityPolicy &)
RApaAppServiceBase::NotifyServerExit(TRequestStatus &)const
RApaAppServiceBase::RApaAppServiceBase()
RApaAppServiceBase::ServerName()const
RApaAppServiceBase::TransferExistingSessionL(RApaAppServiceBase &)
REikAppServiceBase::Close()
REikAppServiceBase::ConnectNewAppL(TUid)
REikAppServiceBase::ConnectNewAppL(TUid,const TSecurityPolicy &)
REikAppServiceBase::ConnectNewChildAppL(TUid,RWindowGroup &)
REikAppServiceBase::ConnectNewChildAppL(TUid,RWindowGroup &,const TSecurityPolicy &)
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
Inherited Enumerations
RApaAppServiceBase:TApaAppServiceBaseCmdConstants
RHandleBase:TAttributes
RSessionBase:TAttachMode
Private Attributes
TInt iSpare
Inherited Attributes
RHandleBase::iHandle

Member Functions Documentation

BlankScreen()

IMPORT_C TIntBlankScreen()const

BlockServerStatusPaneRedraws()

IMPORT_C TIntBlockServerStatusPaneRedraws()

CancelDynamicSoftNoteEventNotification()

IMPORT_C voidCancelDynamicSoftNoteEventNotification()

Cancels dynamic soft note observing.

CancelShutdownApps()

IMPORT_C voidCancelShutdownApps()

CancelUnlockMedia()

IMPORT_C voidCancelUnlockMedia()

Connect()

IMPORT_C TIntConnect()

ConnectAknServer()

TInt ConnectAknServer()[private]

ConnectAndSendAppsKeySuppress(TBool)

IMPORT_C TIntConnectAndSendAppsKeySuppress(TBoolaSuppress)

Parameters

TBool aSuppress

CreateActivateViewEventL(const TVwsViewId &, TUid, const TDesC8 &)

IMPORT_C TIntCreateActivateViewEventL(const TVwsViewId &aViewId,
TUidaCustomMessageId,
const TDesC8 &aCustomMessage
)

Parameters

const TVwsViewId & aViewId
TUid aCustomMessageId
const TDesC8 & aCustomMessage

CurrentAppStatuspaneResource()

IMPORT_C TIntCurrentAppStatuspaneResource()

DoDiscreetPopupAction(TAknDiscreetPopupData *, TRequestStatus *)

IMPORT_C voidDoDiscreetPopupAction(TAknDiscreetPopupData *aData,
TRequestStatus *aStatus = NULL
)

Asks cap server to do discreet popup action. Method is asynchronous if aStatus is not NULL.

Since
S60 v5.2

Parameters

TAknDiscreetPopupData * aData
TRequestStatus * aStatus = NULL

DoEikonServerConnect()

IMPORT_C TIntDoEikonServerConnect()

DoNotifierControllerCommand(TInt)

IMPORT_C TIntDoNotifierControllerCommand(TIntaNotifierControllerCommand)

Parameters

TInt aNotifierControllerCommand

EnableTaskList(TBool)

IMPORT_C TIntEnableTaskList(TBoolaEnable)

Parameters

TBool aEnable

GetAliasKeyCode(TUint &, const TKeyEvent &, TEventCode)

IMPORT_C TIntGetAliasKeyCode(TUint &aCode,
const TKeyEvent &aKeyEvent,
TEventCodeaType
)

Parameters

TUint & aCode
const TKeyEvent & aKeyEvent
TEventCode aType

GetInUseGlobalDiscreetPopupRect()

IMPORT_C const TRectGetInUseGlobalDiscreetPopupRect()

Query cap server about in use global discreet popup's rectangle

Since
S60 v5.2

GetPackedConfigL()

IMPORT_C HBufC8 *GetPackedConfigL()const

GetPhoneIdleViewId(TVwsViewId &)

IMPORT_C TIntGetPhoneIdleViewId(TVwsViewId &aViewId)

Parameters

TVwsViewId & aViewId

HideApplicationFromFsw(TBool, TInt)

IMPORT_C TIntHideApplicationFromFsw(TBoolaHide,
TIntaMyUid
)

Parameters

TBool aHide
TInt aMyUid

HideLongTapAnimation()

IMPORT_C TIntHideLongTapAnimation()

IsSystemFaded(TBool &)

IMPORT_C TIntIsSystemFaded(TBool &aFade)const

Parameters

TBool & aFade

MakeTaskListVisible(TBool)

IMPORT_C TIntMakeTaskListVisible(TBoolaShow)

Parameters

TBool aShow

MoveAppInZOrder(TInt, TBool)

IMPORT_C TIntMoveAppInZOrder(TIntaAppWindowGroupId,
TBoolaBackgroundOrForeground
)

Parameters

TInt aAppWindowGroupId
TBool aBackgroundOrForeground

NotifyDynamicSoftNoteEvent(TRequestStatus &, TDes8 &)

IMPORT_C voidNotifyDynamicSoftNoteEvent(TRequestStatus &aStatus,
TDes8 &aActionId
)

Registers a client as an observer for dynamic soft note events. Method is asynchronous. Completes when soft note is accepted or canceled.

Parameters

TRequestStatus & aStatusOn completion, KErrNone if successful. Otherwise a system-wide error code.
TDes8 & aActionIdOn completion, a value from TAknDynamicSNoteEvent.

PreAllocateDynamicSoftNoteEvent(TInt)

IMPORT_C TIntPreAllocateDynamicSoftNoteEvent(TIntaNoteId)

Pre-allocates memory for dynamic soft note observation event.

Parameters

TInt aNoteIdDynamic soft note id to be observed.

PrepareForAppExit(TInt)

IMPORT_C TIntPrepareForAppExit(TIntaWgId)

Parameters

TInt aWgId

RedrawServerStatusPane()

IMPORT_C TIntRedrawServerStatusPane()

RelinquishPriorityToForegroundApp()

IMPORT_C TIntRelinquishPriorityToForegroundApp()

RotateScreen()

IMPORT_C TIntRotateScreen()

ServiceUid()

IMPORT_C TUidServiceUid()const [private, virtual]

Returns the UID of the service that this session provides an interface for. Client side service implementations must implement this function to return the UID for the service that they implement.

SetCurrentAppStatuspaneResource(TInt)

IMPORT_C TIntSetCurrentAppStatuspaneResource(TIntaResourceId)

Parameters

TInt aResourceId

SetFgSpDataSubscriberId(TInt)

IMPORT_C TIntSetFgSpDataSubscriberId(TIntaId)

Parameters

TInt aId

SetKeyblockMode(TAknKeySoundOpcode)

IMPORT_C TIntSetKeyblockMode(TAknKeySoundOpcodeaMode)

Parameters

TAknKeySoundOpcode aMode

SetKeyboardRepeatRate(TAknDefaultKeyboardRepeatRate)

IMPORT_C TIntSetKeyboardRepeatRate(TAknDefaultKeyboardRepeatRateaRate)

SetSgcParams(TInt, TBitFlags, TInt, TInt)

IMPORT_C TIntSetSgcParams(TIntaWgId,
TBitFlagsaAppFlags,
TIntaSpLayout,
TIntaSpFlags
)

Parameters

TInt aWgId
TBitFlags aAppFlags
TInt aSpLayout
TInt aSpFlags

SetSgcParams(TInt, TBitFlags, TInt, TInt, TInt)

IMPORT_C TIntSetSgcParams(TIntaWgId,
TBitFlagsaAppFlags,
TIntaSpLayout,
TIntaSpFlags,
TIntaAppScreenMode
)

Parameters

TInt aWgId
TBitFlags aAppFlags
TInt aSpLayout
TInt aSpFlags
TInt aAppScreenMode

SetStatusPaneFlags(TInt)

IMPORT_C TIntSetStatusPaneFlags(TIntaFlags)const

Parameters

TInt aFlags

SetStatusPaneLayout(TInt)

IMPORT_C TIntSetStatusPaneLayout(TIntaLayoutResId)const

Parameters

TInt aLayoutResId

SetSystemFaded(TBool)

IMPORT_C TIntSetSystemFaded(TBoolaFade)

Parameters

TBool aFade

ShowGlobalNoteL(const TDesC &, TInt)

IMPORT_C TIntShowGlobalNoteL(const TDesC &aNoteText,
TIntaGlobalNoteType
)

Parameters

const TDesC & aNoteText
TInt aGlobalNoteType

ShowKeysLockedNote(TBool &)

IMPORT_C TIntShowKeysLockedNote(TBool &aIsKeyPadLocked)

Parameters

TBool & aIsKeyPadLocked

ShowLongTapAnimation(const TPointerEvent &)

IMPORT_C TIntShowLongTapAnimation(const TPointerEvent &aEvent)

Parameters

const TPointerEvent & aEvent

ShutdownApps(const TUid, const TInt, TRequestStatus &)

IMPORT_C voidShutdownApps(const TUidaRequesterUID,
const TIntaTimeoutInMicroseconds,
TRequestStatus &aStatus
)const

Parameters

const TUid aRequesterUID
const TInt aTimeoutInMicroseconds
TRequestStatus & aStatus

StartAknCapserverL()

IMPORT_C voidStartAknCapserverL()[static]

StatusPaneResourceId()

IMPORT_C TIntStatusPaneResourceId()

TaskSwitchingSupressed()

IMPORT_C TBoolTaskSwitchingSupressed()

UnblankScreen()

IMPORT_C TIntUnblankScreen()const

UnlockMedia(TInt, TBool, TRequestStatus &)

IMPORT_C voidUnlockMedia(TIntaDrive,
TBoolaStore,
TRequestStatus &aStatus
)

Parameters

TInt aDrive
TBool aStore
TRequestStatus & aStatus

UpdateTaskList()

IMPORT_C TIntUpdateTaskList()

Member Data Documentation

TInt iSpare

TInt iSpare[private]