Location:
fbs.h
Link against: fbscli.lib
class RFbsSession : protected RSessionBase;
A session with the font and bitmap server.
RHandleBase
- A handle to an object
RSessionBase
- Client-side handle to a session with a server
RFbsSession
- A session with the font and bitmap server
Defined in RFbsSession
:
CallBack()
, Connect()
, Connect()
, Disconnect()
, GetSession()
, HeapBase()
, RFbsSession()
, ResetCallBack()
, ResourceCount()
, SendCommand()
, SessionHandle()
, SetCallBack()
, Version()
Inherited from RHandleBase
:
Attributes()
,
Close()
,
Duplicate()
,
FullName()
,
Handle()
,
HandleInfo()
,
Name()
,
SetHandle()
,
SetHandleNC()
,
iHandle
Inherited from RSessionBase
:
CreateSession()
,
EAutoAttach
,
EExplicitAttach
,
Open()
,
Send()
,
SendReceive()
,
SetReturnedHandle()
,
ShareAuto()
,
ShareProtected()
,
TAttachMode
static IMPORT_C TInt Connect();
Creates a session with the Font and Bitmap server.
|
static IMPORT_C TInt Connect(RFs &aFileServer);
Creates a session with the Font and Bitmap server.
|
|
static IMPORT_C RFbsSession *GetSession();
Gets the current Font and Bitmap server session.
|
IMPORT_C void CallBack();
Triggers the most recently registered callback. This is mainly called by bitmaps when their twips size changes and when any FBSERV objects are closed to notify clients of a change that may affect their operation.
IMPORT_C void SetCallBack(TCallBack aCallBack);
Sets the callback.
|
IMPORT_C TInt ResourceCount();
Returns the number of Font and Bitmap Server objects currently in use by this session.
|
IMPORT_C TInt SendCommand(TInt aMessage, TInt aInt0=0, TInt aInt1=0, TInt aInt2=0, TInt aInt3=0) const;
Utility function for passing commands to the server.
|
|
IMPORT_C TVersion Version();
Gets the current Font and Bitmap server version.
|
IMPORT_C TUint8 *HeapBase() const;
Gets the address of first location in the global shared heap containing fonts and bitmaps.
|