|
|
|
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()Triggers the most recently registered callback. This is mainly called by bitmaps...Connect()Creates a session with the Font and Bitmap server. Connect(RFs &)Creates a session with the Font and Bitmap server. Disconnect()Closes the session with the Font and Bitmap server. GetSession()Gets the current Font and Bitmap server session. HeapBase()constGets the address of first location in the global shared heap containing fonts an...RFbsSession()ResetCallBack()Resets the callback. ResourceCount()Returns the number of Font and Bitmap Server objects currently in use by this se...SendCommand(TInt,TInt,TInt,TInt,TInt)constUtility function for passing commands to the server. SessionHandle()constSetCallBack(TCallBack)Sets the callback. Version()Gets the current Font and Bitmap server version. Inherited from RHandleBase:
Attributes()constBTraceId()constReturns a unique object identifier for use with BTrace
Close()Closes the handle.Duplicate(const RThread &,TOwnerType)Creates a valid handle to the kernel object for which the specified thread alrea...FullName()constGets the full name of the handle.FullName(TDes &)constGets the full name of the handle.Handle()constRetrieves the handle-number of the object associated with this handle.HandleInfo(THandleInfo *)Gets information about the handle.Name()constGets the name of the handle.Open(const TFindHandleBase &,TOwnerType)Opens a handle to a kernel side object found using a find-handle object.RHandleBase(TInt)Copy constructor.SetHandle(TInt)Sets the handle-number of this handle to the specified value.SetHandleNC(TInt)Sets the handle-number of this handle to the specified value, and marks it as no...iHandleInherited from RSessionBase:
CreateSession(RServer2,const TVersion &)Creates a session with a server, specifying no message slots.CreateSession(RServer2,const TVersion &,TInt)Creates a session with a server.CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)Creates a session with a server.CreateSession(const TDesC &,const TVersion &)Creates a session with a server, specifying no message slots.CreateSession(const TDesC &,const TVersion &,TInt)Creates a session with a server.CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)Creates a session with a server.CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)EAutoAttachEExplicitAttachOpen(RMessagePtr2,TInt,TOwnerType)Opens a handle to a session using a handle number sent by a client to a server.Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)Opens a handle to a session using a handle number sent by a client to a server, ...Open(TInt,TOwnerType)Opens a handle to a session using a handle number passed as an environment data ...Open(TInt,const TSecurityPolicy &,TOwnerType)Opens a handle to a session using a handle number passed as an environment data ...Send(TInt)constIssues a blind request to the server with the specified function number, but wit...Send(TInt,const TIpcArgs &)constIssues a blind request to the server with the specified function number, and arg...SendReceive(TInt)constIssues a synchronous request to the server with the specified function number, b...SendReceive(TInt,TRequestStatus &)constIssues an asynchronous request to the server with the specified function number,...SendReceive(TInt,const TIpcArgs &)constIssues a synchronous request to the server with the specified function number an...SendReceive(TInt,const TIpcArgs &,TRequestStatus &)constIssues an asynchronous request to the server with the specified function number ...SetReturnedHandle(TInt)Sets the handle-number of this handle to the specified value.SetReturnedHandle(TInt,RHandleBase &)SetReturnedHandle(TInt,const TSecurityPolicy &)Sets the handle-number of this session handle to the specified value after valid...ShareAuto()Creates a session that can be shared by other threads in the current process.ShareProtected()Creates a session handle that can be be passed via IPC to another process as wel...TAttachModeIndicates whether or not threads in the process are automatically attached to th...IMPORT_C static TInt Connect();
Creates a session with the Font and Bitmap server.
|
IMPORT_C static TInt Connect(RFs &aFileServer);
Creates a session with the Font and Bitmap server.
|
|
IMPORT_C static 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.
|