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: stub videocollectionwrapperdata
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef VIDEOCOLLECTIONWRAPPERDATA_H
|
|
19 |
#define VIDEOCOLLECTIONWRAPPERDATA_H
|
|
20 |
|
58
|
21 |
#include "videoproxymodelgeneric.h"
|
|
22 |
#include "videoproxymodelallvideos.h"
|
|
23 |
#include "videoproxymodelcollections.h"
|
|
24 |
#include "videoproxymodelcontent.h"
|
34
|
25 |
#include "videolistdatamodel.h"
|
58
|
26 |
#include <qpointer.h>
|
34
|
27 |
|
58
|
28 |
class VideoCollectionWrapperData : public QObject
|
34
|
29 |
{
|
58
|
30 |
Q_OBJECT
|
|
31 |
|
34
|
32 |
public: // methods
|
58
|
33 |
static void reset();
|
|
34 |
/*{
|
|
35 |
mGetGenericModelFails = false;
|
|
36 |
mGetAllVideosModelFails = false;
|
|
37 |
mGetCollectionsModelFails = false;
|
|
38 |
mGetCollectionContentModelFails = false;
|
34
|
39 |
|
|
40 |
delete mAllVideosModel;
|
|
41 |
delete mCollectionsModel;
|
|
42 |
delete mCollectionContentModel;
|
|
43 |
delete mGenericModel;
|
58
|
44 |
|
34
|
45 |
delete mSourceModel;
|
|
46 |
mSourceModel = 0;
|
58
|
47 |
}*/
|
34
|
48 |
|
|
49 |
public: // data
|
58
|
50 |
static bool mGetGenericModelFails;
|
|
51 |
static bool mGetAllVideosModelFails;
|
|
52 |
static bool mGetCollectionsModelFails;
|
|
53 |
static bool mGetCollectionContentModelFails;
|
34
|
54 |
static VideoListDataModel *mSourceModel;
|
58
|
55 |
static QPointer<VideoProxyModelGeneric> mAllVideosModel;
|
|
56 |
static QPointer<VideoProxyModelGeneric> mCollectionsModel;
|
|
57 |
static QPointer<VideoProxyModelGeneric> mCollectionContentModel;
|
|
58 |
static QPointer<VideoProxyModelGeneric> mGenericModel;
|
34
|
59 |
};
|
|
60 |
|
58
|
61 |
#endif /* VIDEOCOLLECTIONWRAPPERDATA_H */
|