tsrc/musenginestub/inc/musengclipsessionobserver.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
    14 * Description: 
    14 * Description: 
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 #ifndef MUSENGCLIPSESSIONOBSERVER_H
    19 #ifndef MUSHENGCLIPSESSIONOBSERVER_H
    20 #define MUSENGCLIPSESSIONOBSERVER_H
    20 #define MUSHENGCLIPSESSIONOBSERVER_H
    21 
    21 
    22 // INCLUDES
    22 // INCLUDES
    23 #include <e32def.h>
    23 #include <e32std.h>
       
    24 #include "musengoutsessionobserver.h"
    24 
    25 
    25 // CLASS DECLARATION
    26 // CLASS DECLARATION
    26 
    27 
    27 /**
    28 /**
    28 *  An interface to be implemented by users of Multimedia Sharing Engine 
    29 *  An interface to be implemented by users of Multimedia Sharing Engine if they wish to receive
    29 *  if they wish to receive clip sharing specific events.
    30 *  events from session state changes.
    30 *
    31 *
    31 *  This observer is set using CMusEngClipSession::SetSessionObserver function.
    32 *  This observer is set using CMSSession::SetSessionObserver function.
    32 *
    33 *
       
    34 *  @lib ???.lib
    33 */
    35 */
    34 class MMusEngClipSessionObserver
    36 class MMusEngClipSessionObserver : public MMusEngOutSessionObserver
    35     {
    37     {
    36     public: 
    38     public: 
    37     
    39     
    38         /**
       
    39 	    * Indicates that shared clip has ended.
       
    40 	    */
       
    41         virtual void EndOfClip() = 0;        
    40         virtual void EndOfClip() = 0;        
    42         
       
    43         /**
       
    44 	    * Indicates that chosen clip must be transcoded before sharing.
       
    45 	    */
       
    46         virtual void TranscodingNeeded() = 0;
       
    47         
       
    48         /**
       
    49 	    * Indicates that transcoding has progressed.
       
    50 	    * @param aPercentage Percentage of completion
       
    51 	    */
       
    52         virtual void TranscodingProgressed( TInt aPercentage ) = 0;
       
    53         
       
    54         /**
       
    55 	    * Indicates that transcoding has successfully complited
       
    56 	    * but session establishment is not yet proceeding.
       
    57 	    */
       
    58         virtual void TranscodingCompletedInit() = 0;
       
    59         
       
    60         /**
       
    61 	    * Indicates that transcoding has successfully complited
       
    62 	    * and session establishment continues.
       
    63 	    */
       
    64         virtual void TranscodingCompletedFinalize() = 0;
       
    65         
       
    66         /**
       
    67 	    * Indicates that transcoding has failed.
       
    68 	    */
       
    69         virtual void TranscodingFailed() = 0;
       
    70         
       
    71     };
    41     };
    72 
    42 
    73 #endif
    43 #endif