diff -r 3c221667e687 -r 94dc1107e8b2 phoneapp/phoneuiview/inc/phoneringingtonesrv.h --- a/phoneapp/phoneuiview/inc/phoneringingtonesrv.h Mon Jun 21 15:39:45 2010 +0300 +++ b/phoneapp/phoneuiview/inc/phoneringingtonesrv.h Thu Jul 15 18:38:16 2010 +0300 @@ -51,14 +51,14 @@ ~CPhoneRingingToneServer(); /** - * Increments sessions. + * Start session. */ - void IncrementSessions(); + TInt StartSession(); /** - * Decrements sessions. + * Close session. */ - void DecrementSessions(); + void CloseSession(); /** * Thread entry function. @@ -180,8 +180,8 @@ // File server connection RFs iFs; - // Number of active sessions - TInt iSessionCount; + // Indicates is session already in use + TBool iSessionInUse; // Player active object CPhoneRingingToneSrvPlayerAO* iPlayer;