71
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 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 the License "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 VCXTESTMYVIDEOSOBSERVER_H_
|
|
20 |
#define VCXTESTMYVIDEOSOBSERVER_H_
|
|
21 |
|
|
22 |
// INCLUDES
|
|
23 |
|
|
24 |
#include <e32base.h>
|
|
25 |
|
|
26 |
// CLASS DECLARATION
|
|
27 |
|
|
28 |
/**
|
|
29 |
* MVCXTestMyVideosObserver
|
|
30 |
*
|
|
31 |
* @lib ?library
|
|
32 |
* @since ?Series60_version
|
|
33 |
*/
|
|
34 |
class MVCXTestMyVideosObserver
|
|
35 |
{
|
|
36 |
public:
|
|
37 |
enum TVCXTestVideoEvent
|
|
38 |
{
|
|
39 |
EVCXTestVideoGeneral, // aError = error code
|
|
40 |
EVCXTestVideoListRefreshed,
|
|
41 |
EVCXTestVideoVideoAdded, // aParam1 = video id
|
|
42 |
EVCXTestVideoVideoDeleted, // aParam1 = video id
|
|
43 |
EVCXTestVideoDownloadStarted, // aParam1 = video id
|
|
44 |
EVCXTestVideoDownloadPaused, // aParam1 = video id
|
|
45 |
EVCXTestVideoDownloadFailed, // aParam1 = video id, aError = download error.
|
|
46 |
EVCXTestVideoDownloadCompleted, // aParam1 = video id
|
|
47 |
EVCXTestVideoDownloadProgressed, // aParam1 = video id, aParam2 = download progress
|
|
48 |
EVCXTestVideoAllDownloadsCompleted,
|
|
49 |
};
|
|
50 |
|
|
51 |
/**
|
|
52 |
*
|
|
53 |
*/
|
|
54 |
virtual void VideoEventL( TVCXTestVideoEvent aEvent, TUint32 aParam1, TUint32 aParam2, TInt aError ) = 0;
|
|
55 |
};
|
|
56 |
|
|
57 |
#endif /* VCXTESTMYVIDEOSOBSERVER_H_ */
|