CAlfAppSrvSessionBase Class Reference
class CAlfAppSrvSessionBase : public CAknAppServiceBase
|
Session/service class in the server side.
Private Attributes
|
TPrivateData *
|
iData
|
CAlfAppServer *
|
iHost
|
Constructor & Destructor Documentation
CAlfAppSrvSessionBase(const CAlfAppServer *)
IMPORT_C
|
CAlfAppSrvSessionBase
|
(
|
const CAlfAppServer *
|
aServer
|
)
|
|
Default constructor, stores pointer to server instance
Parameters
const CAlfAppServer * aServer
|
Server which the client has connected.
|
CAlfAppSrvSessionBase()
IMPORT_C
|
CAlfAppSrvSessionBase
|
(
|
)
|
|
Default constructor, fetches and stores pointer to server instance using ccoestatic
~CAlfAppSrvSessionBase()
IMPORT_C
|
~CAlfAppSrvSessionBase
|
(
|
)
|
|
Destructor, singals server to free resources specific for this client
Member Functions Documentation
ActivateContainerLayoutL(TBool)
void
|
ActivateContainerLayoutL
|
(
|
TBool
|
aActivate
|
)
|
|
AlfAppUi()
IMPORT_C CAlfAppUi *
|
AlfAppUi
|
(
|
)
|
|
AlfInterfaceProviderExtension(const TUid &, TAny **)
IMPORT_C void
|
AlfInterfaceProviderExtension
|
(
|
const
TUid
&
|
aExtensionUid,
|
|
TAny
**
|
aExtensionParams
|
|
)
|
|
Parameters
const
TUid
& aExtensionUid
|
|
TAny
** aExtensionParams
|
|
AlfServer()
IMPORT_C CAlfAppServer *
|
AlfServer
|
(
|
)
|
|
BaseConstructL()
IMPORT_C void
|
BaseConstructL
|
(
|
)
|
[protected]
|
CancelPointerEvents()
void
|
CancelPointerEvents
|
(
|
)
|
|
CancelSystemEvents()
void
|
CancelSystemEvents
|
(
|
)
|
|
ClientDrawingArea()
IMPORT_C
TRect
|
ClientDrawingArea
|
(
|
)
|
const [virtual]
|
Gets the drawing area of the session
ClientWindowGroup()
TInt
|
ClientWindowGroup
|
(
|
)
|
const
|
CloseSubSession(const RMessage2 &)
void
|
CloseSubSession
|
(
|
const
RMessage2
&
|
aMessage
|
)
|
|
CloseSubSession(TInt)
void
|
CloseSubSession
|
(
|
TInt
|
aHandle
|
)
|
[private]
|
CompleteCmd(TInt, TInt)
IMPORT_C void
|
CompleteCmd
|
(
|
TInt
|
aCommadIdentifier,
|
|
TInt
|
aResult
|
|
)
|
|
CountResources()
IMPORT_C
TInt
|
CountResources
|
(
|
)
|
[protected, virtual]
|
CreateNewMessageHolderL(const RMessage2 &)
CAlfClientMessage *
|
CreateNewMessageHolderL
|
(
|
const
RMessage2
&
|
aMessage
|
)
|
|
CreateSubSessionLC(const RMessage2 &)
CAlfSrvSubSessionBase *
|
CreateSubSessionLC
|
(
|
const
RMessage2
&
|
aMessage
|
)
|
[protected]
|
Disconnect(const RMessage2 &)
IMPORT_C void
|
Disconnect
|
(
|
const
RMessage2
&
|
aMessage
|
)
|
[protected, virtual]
|
DoHandleCommandL(const RMessage2 &)
void
|
DoHandleCommandL
|
(
|
const
RMessage2
&
|
aMessage
|
)
|
[pure virtual]
|
Parameters
const
RMessage2
& aMessage
|
Message parameters.
|
DoSubSessionCmdL(const RMessage2 &)
ExtensionInterfaceL(TUid, TAny *&)
IMPORT_C void
|
ExtensionInterfaceL
|
(
|
TUid
|
aInterfaceId,
|
|
TAny
*&
|
aImplementation
|
|
)
|
[virtual]
|
Parameters
TUid
aInterfaceId
|
|
TAny
*& aImplementation
|
|
Extension_(TUint, TAny *&, TAny *)
IMPORT_C
TInt
|
Extension_
|
(
|
TUint
|
aExtensionId,
|
|
TAny
*&
|
a0,
|
|
TAny
*
|
a1
|
|
)
|
[protected, virtual]
|
FactoryDestroyed(TInt)
IMPORT_C void
|
FactoryDestroyed
|
(
|
TInt
|
aFactoryUid
|
)
|
[virtual]
|
Ecom implementation for specific factory has been removed Close all subsessions referring to that
FlushPointerHandling()
void
|
FlushPointerHandling
|
(
|
)
|
|
FocusGainedL(TBool)
IMPORT_C void
|
FocusGainedL
|
(
|
TBool
|
aDoTransitionEffect
|
)
|
[virtual]
|
Parameters
TBool
aDoTransitionEffect
|
Do fade in transision (RnD)
|
FocusLostL(TBool)
IMPORT_C
TBool
|
FocusLostL
|
(
|
TBool
|
aDoTransitionEffect
|
)
|
[virtual]
|
Parameters
TBool
aDoTransitionEffect
|
Do fade out transision (RnD)
|
GetHandleFromInterface(const THuiInterfaceSupport &, TAny *)
GetInterfaceL(const THuiInterfaceSupport &, TInt)
GetSubsessionsByTypeL(RPointerArray< CAlfSrvSubSessionBase > &, const THuiInterfaceSupport &)
Finds all the subsession which implement the interface.
Parameters
RPointerArray
< CAlfSrvSubSessionBase > & aArray
|
Array which the function fills of subsession on return.
|
const
THuiInterfaceSupport
& aType
|
Type of the interface that we are looking for.
|
GetSystemEvents(const RMessage2 *)
void
|
GetSystemEvents
|
(
|
const
RMessage2
*
|
aMessage
|
)
|
|
HandleCurrentCommanndAsynch()
IMPORT_C
TInt
|
HandleCurrentCommanndAsynch
|
(
|
)
|
|
HandleEventL(TAny *, TAny *, const THuiEvent &)
void
|
HandleEventL
|
(
|
TAny
*
|
aCtrlPtr,
|
|
TAny
*
|
aVisualPtr,
|
|
const THuiEvent &
|
aEvent
|
|
)
|
|
Parameters
TAny
* aCtrlPtr
|
|
TAny
* aVisualPtr
|
|
const THuiEvent & aEvent
|
|
HasSession(TInt)
TBool
|
HasSession
|
(
|
TInt
|
aSubSessionHandle
|
)
|
const
|
Returns ETrue if this session owns specified subsession handle.
IsSubSessionCreationFunction(const RMessage2 &)
TBool
|
IsSubSessionCreationFunction
|
(
|
const
RMessage2
&
|
aMessage
|
)
|
const [protected]
|
LayoutManager()
IMPORT_C CAlfLayoutManager *
|
LayoutManager
|
(
|
)
|
const
|
ParentWindowGroupId()
TInt
|
ParentWindowGroupId
|
(
|
)
|
|
PreferredRefreshMode()
Returns the preferred refresh mode of the session.
PreferredWindowGroupPosition()
IMPORT_C CAlfAppServer::TAlfWGPostion
|
PreferredWindowGroupPosition
|
(
|
)
|
const [virtual]
|
Returns the preferred window group position of the session.
ResetRootlayerTransformationsL()
void
|
ResetRootlayerTransformationsL
|
(
|
)
|
|
ServiceError(const RMessage2 &, TInt)
IMPORT_C void
|
ServiceError
|
(
|
const
RMessage2
&
|
aMessage,
|
|
TInt
|
aError
|
|
)
|
[protected, virtual]
|
Parameters
const
RMessage2
& aMessage
|
The client message.
|
TInt
aError
|
The error code to which occured during message servicing
|
ServiceL(const RMessage2 &)
IMPORT_C void
|
ServiceL
|
(
|
const
RMessage2
&
|
aMessage
|
)
|
[private, virtual]
|
SetBackgroundMaxFps(TBool)
void
|
SetBackgroundMaxFps
|
(
|
TBool
|
|
)
|
[inline, virtual]
|
Sets session's max fps limiter to half, used if client's window does not have keyboard focus
SetClientWindowGroupId(TInt)
IMPORT_C void
|
SetClientWindowGroupId
|
(
|
TInt
|
aId
|
)
|
|
Sets the window group ID. Server uses this information to calculate its screen position in Symbian window tree
SetParentWindowGroupId(TInt)
void
|
SetParentWindowGroupId
|
(
|
TInt
|
aParentId
|
)
|
|
SharedHuiEnv()
IMPORT_C CHuiEnv *
|
SharedHuiEnv
|
(
|
)
|
const
|
StartPointerHandling()
void
|
StartPointerHandling
|
(
|
)
|
|
SubSession(TInt)
CAlfSrvSubSessionBase &
|
SubSession
|
(
|
TInt
|
aSubSessionHandle
|
)
|
|
TriggerPointerEvent(const RMessage2 *)
void
|
TriggerPointerEvent
|
(
|
const
RMessage2
*
|
aMessage
|
)
|
|
TriggerSystemEvent(TInt)
void
|
TriggerSystemEvent
|
(
|
TInt
|
aEvent
|
)
|
|
Member Data Documentation
TPrivateData * iData
TPrivateData *
|
iData
|
[private]
|
CAlfAppServer * iHost
CAlfAppServer *
|
iHost
|
[private]
|
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.