mmserv/tms/tmscallserver/inc/tmscsdownlink.h
changeset 31 8dfd592727cb
parent 16 43d09473c595
--- a/mmserv/tms/tmscallserver/inc/tmscsdownlink.h	Thu May 27 13:20:50 2010 +0300
+++ b/mmserv/tms/tmscallserver/inc/tmscsdownlink.h	Wed Jun 23 18:47:10 2010 +0300
@@ -23,26 +23,24 @@
 
 namespace TMS {
 
-//
-class TMSCSPDevSoundObserver;
-
 /**
- *  Provides Downlink functionality.
+ *  Provides Downlink stream functionality.
  *
  */
-NONSHARABLE_CLASS(TMSCSDownlink) : public TMSCSPDevSound
+NONSHARABLE_CLASS(TMSCSDownlink) : public TMSCSDevSound
     {
 public:
 
-    static TMSCSDownlink* NewL(TMSCSPDevSoundObserver& aObserver);
+    static TMSCSDownlink* NewL(TMSCSDevSoundObserver& observer,
+            const gint retrytime);
 
     virtual ~TMSCSDownlink();
 
     /**
      * Sets volume.
-     * @param aVolume Volume.
+     * @param volume Volume.
      */
-    void SetVolume(gint aVolume);
+    void SetVolume(gint volume);
 
     /**
      * Gets volume.
@@ -60,31 +58,29 @@
 
     /**
      * From MDevSoundObserver.
-     * Indication from devsound that stream (Downlink) has been activated
+     * Indication from the devsound that Downlink has been activated
      * successfully.
      */
     void BufferToBeFilled(CMMFBuffer* /*aBuffer*/);
 
     /**
      * From MDevSoundObserver.
-     * Indication from devsound that activation of stream( Downlink)
-     * failed.
+     * Indication from devsound that Downlink activation has failed.
      */
     void PlayError(TInt aErrorCode);
 
 private:
 
     /**
-     * From CSPDevSound.
+     * From TMSCSDevSound.
      * Tries to activate the mic stream.
      */
     void DoActivateL();
 
 protected:
 
-    TMSCSDownlink(TMSCSPDevSoundObserver& aObserver);
-
-    void ConstructL();
+    TMSCSDownlink(TMSCSDevSoundObserver& observer);
+    void ConstructL(const gint retrytime);
     };
 
 } //namespace TMS