phoneapp/phoneuiview/inc/phoneringingtonesrv.h
branchRCL_3
changeset 57 94dc1107e8b2
parent 15 2a26698d78ba
equal deleted inserted replaced
44:3c221667e687 57:94dc1107e8b2
    49     * Destructor.
    49     * Destructor.
    50     */
    50     */
    51     ~CPhoneRingingToneServer();
    51     ~CPhoneRingingToneServer();
    52 
    52 
    53     /**
    53     /**
    54     * Increments sessions.
    54     * Start session.
    55     */
    55     */
    56     void IncrementSessions();
    56     TInt StartSession();
    57 
    57 
    58     /**
    58     /**
    59     * Decrements sessions.
    59     * Close session.
    60     */
    60     */
    61     void DecrementSessions();
    61     void CloseSession();
    62 
    62 
    63     /**
    63     /**
    64     * Thread entry function.
    64     * Thread entry function.
    65     */
    65     */
    66     static TInt ThreadEntryFunc( TAny* aPtr );
    66     static TInt ThreadEntryFunc( TAny* aPtr );
   178 
   178 
   179 private:
   179 private:
   180     // File server connection
   180     // File server connection
   181     RFs iFs;
   181     RFs iFs;
   182 
   182 
   183     // Number of active sessions
   183     // Indicates is session already in use
   184     TInt iSessionCount;
   184     TBool iSessionInUse;
   185 
   185 
   186     // Player active object
   186     // Player active object
   187     CPhoneRingingToneSrvPlayerAO* iPlayer;
   187     CPhoneRingingToneSrvPlayerAO* iPlayer;
   188     };
   188     };
   189 
   189