|
1 /* |
|
2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MUSENGCLIPSESSIONOBSERVER_H |
|
20 #define MUSENGCLIPSESSIONOBSERVER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32def.h> |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * An interface to be implemented by users of Multimedia Sharing Engine |
|
29 * if they wish to receive clip sharing specific events. |
|
30 * |
|
31 * This observer is set using CMusEngClipSession::SetSessionObserver function. |
|
32 * |
|
33 */ |
|
34 class MMusEngClipSessionObserver |
|
35 { |
|
36 public: |
|
37 |
|
38 /** |
|
39 * Indicates that shared clip has ended. |
|
40 */ |
|
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 |
|
71 }; |
|
72 |
|
73 #endif |