34
|
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 "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: helper class to test VideoThumbnailFetcher
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef _VIDEOTHUMBNAILFETCHERTESTER_H_
|
|
19 |
#define _VIDEOTHUMBNAILFETCHERTESTER_H_
|
|
20 |
|
|
21 |
// INCLUDES
|
|
22 |
#include <QObject>
|
|
23 |
#include "videothumbnailfetcher.h"
|
|
24 |
|
|
25 |
class VideoThumbnailFetcherTester : public VideoThumbnailFetcher
|
|
26 |
{
|
|
27 |
Q_OBJECT
|
|
28 |
|
|
29 |
public:
|
|
30 |
|
|
31 |
/**
|
|
32 |
* Default constructor
|
|
33 |
*/
|
|
34 |
VideoThumbnailFetcherTester();
|
|
35 |
|
|
36 |
/**
|
|
37 |
* Destructor
|
|
38 |
*/
|
|
39 |
virtual ~VideoThumbnailFetcherTester();
|
|
40 |
|
|
41 |
//
|
|
42 |
// Test methods for VideoThumbnailFetcher's methods.
|
|
43 |
//
|
|
44 |
|
37
|
45 |
void startThumbnailFetches(bool cancelOngoingFetches);
|
34
|
46 |
|
|
47 |
void startThumbnailCreation();
|
|
48 |
|
|
49 |
private:
|
|
50 |
|
|
51 |
};
|
|
52 |
|
|
53 |
#endif // _VIDEOTHUMBNAILFETCHERTESTER_H_
|
|
54 |
|
|
55 |
// End of file
|
|
56 |
|