14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 #ifndef MUSHENGCLIPSESSIONOBSERVER_H |
19 #ifndef MUSENGCLIPSESSIONOBSERVER_H |
20 #define MUSHENGCLIPSESSIONOBSERVER_H |
20 #define MUSENGCLIPSESSIONOBSERVER_H |
21 |
21 |
22 // INCLUDES |
22 // INCLUDES |
23 #include <e32std.h> |
23 #include <e32def.h> |
24 #include "musengoutsessionobserver.h" |
|
25 |
24 |
26 // CLASS DECLARATION |
25 // CLASS DECLARATION |
27 |
26 |
28 /** |
27 /** |
29 * An interface to be implemented by users of Multimedia Sharing Engine if they wish to receive |
28 * An interface to be implemented by users of Multimedia Sharing Engine |
30 * events from session state changes. |
29 * if they wish to receive clip sharing specific events. |
31 * |
30 * |
32 * This observer is set using CMSSession::SetSessionObserver function. |
31 * This observer is set using CMusEngClipSession::SetSessionObserver function. |
33 * |
32 * |
34 * @lib ???.lib |
|
35 */ |
33 */ |
36 class MMusEngClipSessionObserver : public MMusEngOutSessionObserver |
34 class MMusEngClipSessionObserver |
37 { |
35 { |
38 public: |
36 public: |
39 |
37 |
|
38 /** |
|
39 * Indicates that shared clip has ended. |
|
40 */ |
40 virtual void EndOfClip() = 0; |
41 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 |
41 }; |
71 }; |
42 |
72 |
43 #endif |
73 #endif |