diff -r bbf46f59e123 -r 25ffed67c7ef fbs/fontandbitmapserver/sfbs/SESSION.CPP --- a/fbs/fontandbitmapserver/sfbs/SESSION.CPP Tue Aug 31 16:31:06 2010 +0300 +++ b/fbs/fontandbitmapserver/sfbs/SESSION.CPP Wed Sep 01 12:39:21 2010 +0100 @@ -19,14 +19,14 @@ #include "FBSVER.H" #include "FbsRalc.h" #include "fbshelper.h" -#include "FbsMessage.H" -#include +#include "fbsmessage.h" #include "OstTraceDefinitions.h" #include "fbstrace.h" #ifdef OST_TRACE_COMPILER_IN_USE #include "SESSIONTraces.h" #endif + GLDEF_C void Panic(TFbsPanic aPanic) { _LIT(KFBSERVClientPanicCategory,"FBSCLI"); @@ -285,7 +285,6 @@ EXPORT_C TInt RFbsSession::SendCommand(TInt aMessage,TInt aInt0,TInt aInt1,TInt aInt2,TInt aInt3) const { __ASSERT_ALWAYS(iConnections>0,Panic(EFbsPanicBadConnection)); - switch(aMessage) { case EFbsMessShutdown: @@ -295,9 +294,7 @@ default: break; } - TInt ret = SendReceive(aMessage, TIpcArgs(aInt0,aInt1,aInt2,aInt3)); - return(ret); } @@ -539,36 +536,6 @@ return iHelper->iServerSessionHandle; } -EXPORT_C TInt RFbsSession::GetGlyphCacheMetrics( TGlyphCacheMetrics& aGlyphCacheMetrics ) - { - TPckgBuf metrics; - TIpcArgs args( &metrics ); - - TInt ret = SendReceive( EFbsMessGetGlyphCacheMetrics, args ); - aGlyphCacheMetrics = metrics(); - - return ret; - } - -/** - Perform the IPC to convey the desired OoGM action to the glyph atlas. - - @return KErrNone if IPC was successful. One of the system-wide error - codes, as described for RSessionBase::SendReceive(), if not. - - @note The server-side platform security policy applied to this method is such that it is only useable by the GOoM framework. - - @param aOogmMessage. A reference to the class encapsulating the OoGM action required of the glyph atlas. -*/ -EXPORT_C TInt RFbsSession::ConveyOogmMessage( TFbsOogmMessage& aOogmMessage ) - { - TPckgBuf oogmMessage; - oogmMessage() = aOogmMessage; - TIpcArgs args( &oogmMessage ); - - return SendReceive( EFbsMessOogmNotification, args ); - } - /** Returns the current sizes of the FBServ default heap, the heap for large bitmaps, and the heap for small bitmaps.