RAknUiServer Class Reference

class RAknUiServer : public REikAppServiceBase
Public Member Functions
IMPORT_C TInt BlankScreen ()
IMPORT_C TInt BlockServerStatusPaneRedraws ()
IMPORT_C void CancelDynamicSoftNoteEventNotification ()
IMPORT_C void CancelShutdownApps ()
IMPORT_C void CancelUnlockMedia ()
IMPORT_C TInt Connect ()
IMPORT_C TInt ConnectAndSendAppsKeySuppress ( TBool )
IMPORT_C TInt CreateActivateViewEventL (const TVwsViewId &, TUid , const TDesC8 &)
IMPORT_C TInt CurrentAppStatuspaneResource ()
IMPORT_C void DoDiscreetPopupAction (TAknDiscreetPopupData *, TRequestStatus *)
IMPORT_C TInt DoEikonServerConnect ()
IMPORT_C TInt DoNotifierControllerCommand ( TInt )
IMPORT_C TInt EnableTaskList ( TBool )
IMPORT_C TInt GetAliasKeyCode ( TUint &, const TKeyEvent &, TEventCode )
IMPORT_C const TRect GetInUseGlobalDiscreetPopupRect ()
IMPORT_C HBufC8 * GetPackedConfigL ()
IMPORT_C TInt GetPhoneIdleViewId ( TVwsViewId &)
IMPORT_C TInt HideApplicationFromFsw ( TBool , TInt )
IMPORT_C TInt HideLongTapAnimation ()
IMPORT_C TInt IsSystemFaded ( TBool &)
IMPORT_C TInt MakeTaskListVisible ( TBool )
IMPORT_C TInt MoveAppInZOrder ( TInt , TBool )
IMPORT_C void NotifyDynamicSoftNoteEvent ( TRequestStatus &, TDes8 &)
IMPORT_C TInt PreAllocateDynamicSoftNoteEvent ( TInt )
IMPORT_C TInt PrepareForAppExit ( TInt )
IMPORT_C TInt RedrawServerStatusPane ()
IMPORT_C TInt RelinquishPriorityToForegroundApp ()
IMPORT_C TInt RotateScreen ()
IMPORT_C TInt SetCurrentAppStatuspaneResource ( TInt )
IMPORT_C TInt SetFgSpDataSubscriberId ( TInt )
IMPORT_C TInt SetKeyblockMode ( TAknKeySoundOpcode )
IMPORT_C TInt SetKeyboardRepeatRate ( TAknDefaultKeyboardRepeatRate )
IMPORT_C TInt SetSgcParams ( TInt , TBitFlags , TInt , TInt )
IMPORT_C TInt SetSgcParams ( TInt , TBitFlags , TInt , TInt , TInt )
IMPORT_C TInt SetStatusPaneFlags ( TInt )
IMPORT_C TInt SetStatusPaneLayout ( TInt )
IMPORT_C TInt SetSystemFaded ( TBool )
IMPORT_C TInt ShowGlobalNoteL (const TDesC &, TInt )
IMPORT_C TInt ShowKeysLockedNote ( TBool &)
IMPORT_C TInt ShowLongTapAnimation (const TPointerEvent &)
IMPORT_C void ShutdownApps (const TUid , const TInt , TRequestStatus &)
IMPORT_C void StartAknCapserverL ()
IMPORT_C TInt StatusPaneResourceId ()
IMPORT_C TBool TaskSwitchingSupressed ()
IMPORT_C TInt UnblankScreen ()
IMPORT_C void UnlockMedia ( TInt , TBool , TRequestStatus &)
IMPORT_C TInt UpdateTaskList ()
Private Member Functions
TInt ConnectAknServer ()
IMPORT_C TUid ServiceUid ()
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 TInt BlankScreen ( ) const

BlockServerStatusPaneRedraws()

IMPORT_C TInt BlockServerStatusPaneRedraws ( )

CancelDynamicSoftNoteEventNotification()

IMPORT_C void CancelDynamicSoftNoteEventNotification ( )

Cancels dynamic soft note observing.

CancelShutdownApps()

IMPORT_C void CancelShutdownApps ( )

CancelUnlockMedia()

IMPORT_C void CancelUnlockMedia ( )

Connect()

IMPORT_C TInt Connect ( )

ConnectAknServer()

TInt ConnectAknServer ( ) [private]

ConnectAndSendAppsKeySuppress(TBool)

IMPORT_C TInt ConnectAndSendAppsKeySuppress ( TBool aSuppress )

Parameters

TBool aSuppress

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

IMPORT_C TInt CreateActivateViewEventL ( const TVwsViewId & aViewId,
TUid aCustomMessageId,
const TDesC8 & aCustomMessage
)

Parameters

const TVwsViewId & aViewId
TUid aCustomMessageId
const TDesC8 & aCustomMessage

CurrentAppStatuspaneResource()

IMPORT_C TInt CurrentAppStatuspaneResource ( )

DoDiscreetPopupAction(TAknDiscreetPopupData *, TRequestStatus *)

IMPORT_C void DoDiscreetPopupAction ( 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 TInt DoEikonServerConnect ( )

DoNotifierControllerCommand(TInt)

IMPORT_C TInt DoNotifierControllerCommand ( TInt aNotifierControllerCommand )

Parameters

TInt aNotifierControllerCommand

EnableTaskList(TBool)

IMPORT_C TInt EnableTaskList ( TBool aEnable )

Parameters

TBool aEnable

GetAliasKeyCode(TUint &, const TKeyEvent &, TEventCode)

IMPORT_C TInt GetAliasKeyCode ( TUint & aCode,
const TKeyEvent & aKeyEvent,
TEventCode aType
)

Parameters

TUint & aCode
const TKeyEvent & aKeyEvent
TEventCode aType

GetInUseGlobalDiscreetPopupRect()

IMPORT_C const TRect GetInUseGlobalDiscreetPopupRect ( )

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 TInt GetPhoneIdleViewId ( TVwsViewId & aViewId )

Parameters

TVwsViewId & aViewId

HideApplicationFromFsw(TBool, TInt)

IMPORT_C TInt HideApplicationFromFsw ( TBool aHide,
TInt aMyUid
)

Parameters

TBool aHide
TInt aMyUid

HideLongTapAnimation()

IMPORT_C TInt HideLongTapAnimation ( )

IsSystemFaded(TBool &)

IMPORT_C TInt IsSystemFaded ( TBool & aFade ) const

Parameters

TBool & aFade

MakeTaskListVisible(TBool)

IMPORT_C TInt MakeTaskListVisible ( TBool aShow )

Parameters

TBool aShow

MoveAppInZOrder(TInt, TBool)

IMPORT_C TInt MoveAppInZOrder ( TInt aAppWindowGroupId,
TBool aBackgroundOrForeground
)

Parameters

TInt aAppWindowGroupId
TBool aBackgroundOrForeground

NotifyDynamicSoftNoteEvent(TRequestStatus &, TDes8 &)

IMPORT_C void NotifyDynamicSoftNoteEvent ( 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 & aStatus On completion, KErrNone if successful. Otherwise a system-wide error code.
TDes8 & aActionId On completion, a value from TAknDynamicSNoteEvent.

PreAllocateDynamicSoftNoteEvent(TInt)

IMPORT_C TInt PreAllocateDynamicSoftNoteEvent ( TInt aNoteId )

Pre-allocates memory for dynamic soft note observation event.

Parameters

TInt aNoteId Dynamic soft note id to be observed.

PrepareForAppExit(TInt)

IMPORT_C TInt PrepareForAppExit ( TInt aWgId )

Parameters

TInt aWgId

RedrawServerStatusPane()

IMPORT_C TInt RedrawServerStatusPane ( )

RelinquishPriorityToForegroundApp()

IMPORT_C TInt RelinquishPriorityToForegroundApp ( )

RotateScreen()

IMPORT_C TInt RotateScreen ( )

ServiceUid()

IMPORT_C TUid ServiceUid ( ) 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 TInt SetCurrentAppStatuspaneResource ( TInt aResourceId )

Parameters

TInt aResourceId

SetFgSpDataSubscriberId(TInt)

IMPORT_C TInt SetFgSpDataSubscriberId ( TInt aId )

Parameters

TInt aId

SetKeyblockMode(TAknKeySoundOpcode)

IMPORT_C TInt SetKeyblockMode ( TAknKeySoundOpcode aMode )

Parameters

TAknKeySoundOpcode aMode

SetKeyboardRepeatRate(TAknDefaultKeyboardRepeatRate)

IMPORT_C TInt SetKeyboardRepeatRate ( TAknDefaultKeyboardRepeatRate aRate )

SetSgcParams(TInt, TBitFlags, TInt, TInt)

IMPORT_C TInt SetSgcParams ( TInt aWgId,
TBitFlags aAppFlags,
TInt aSpLayout,
TInt aSpFlags
)

Parameters

TInt aWgId
TBitFlags aAppFlags
TInt aSpLayout
TInt aSpFlags

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

IMPORT_C TInt SetSgcParams ( TInt aWgId,
TBitFlags aAppFlags,
TInt aSpLayout,
TInt aSpFlags,
TInt aAppScreenMode
)

Parameters

TInt aWgId
TBitFlags aAppFlags
TInt aSpLayout
TInt aSpFlags
TInt aAppScreenMode

SetStatusPaneFlags(TInt)

IMPORT_C TInt SetStatusPaneFlags ( TInt aFlags ) const

Parameters

TInt aFlags

SetStatusPaneLayout(TInt)

IMPORT_C TInt SetStatusPaneLayout ( TInt aLayoutResId ) const

Parameters

TInt aLayoutResId

SetSystemFaded(TBool)

IMPORT_C TInt SetSystemFaded ( TBool aFade )

Parameters

TBool aFade

ShowGlobalNoteL(const TDesC &, TInt)

IMPORT_C TInt ShowGlobalNoteL ( const TDesC & aNoteText,
TInt aGlobalNoteType
)

Parameters

const TDesC & aNoteText
TInt aGlobalNoteType

ShowKeysLockedNote(TBool &)

IMPORT_C TInt ShowKeysLockedNote ( TBool & aIsKeyPadLocked )

Parameters

TBool & aIsKeyPadLocked

ShowLongTapAnimation(const TPointerEvent &)

IMPORT_C TInt ShowLongTapAnimation ( const TPointerEvent & aEvent )

Parameters

const TPointerEvent & aEvent

ShutdownApps(const TUid, const TInt, TRequestStatus &)

IMPORT_C void ShutdownApps ( const TUid aRequesterUID,
const TInt aTimeoutInMicroseconds,
TRequestStatus & aStatus
) const

Parameters

const TUid aRequesterUID
const TInt aTimeoutInMicroseconds
TRequestStatus & aStatus

StartAknCapserverL()

IMPORT_C void StartAknCapserverL ( ) [static]

StatusPaneResourceId()

IMPORT_C TInt StatusPaneResourceId ( )

TaskSwitchingSupressed()

IMPORT_C TBool TaskSwitchingSupressed ( )

UnblankScreen()

IMPORT_C TInt UnblankScreen ( ) const

UnlockMedia(TInt, TBool, TRequestStatus &)

IMPORT_C void UnlockMedia ( TInt aDrive,
TBool aStore,
TRequestStatus & aStatus
)

Parameters

TInt aDrive
TBool aStore
TRequestStatus & aStatus

UpdateTaskList()

IMPORT_C TInt UpdateTaskList ( )

Member Data Documentation

TInt iSpare

TInt iSpare [private]