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 |
|
|
21 |
#include "videosortfilterproxymodel.h"
|
|
22 |
#include "videolistdatamodel.h"
|
|
23 |
|
|
24 |
class VideoCollectionWrapperData
|
|
25 |
{
|
|
26 |
public: // methods
|
|
27 |
static void reset()
|
|
28 |
{
|
|
29 |
mGetModelFails = false;
|
|
30 |
|
|
31 |
delete mAllVideosModel;
|
|
32 |
mAllVideosModel = 0;
|
|
33 |
|
|
34 |
delete mCollectionsModel;
|
|
35 |
mCollectionsModel = 0;
|
|
36 |
|
|
37 |
delete mCollectionContentModel;
|
|
38 |
mCollectionContentModel = 0;
|
|
39 |
|
|
40 |
delete mGenericModel;
|
|
41 |
mGenericModel = 0;
|
|
42 |
|
|
43 |
delete mSourceModel;
|
|
44 |
mSourceModel = 0;
|
|
45 |
}
|
|
46 |
|
|
47 |
public: // data
|
|
48 |
static bool mGetModelFails;
|
|
49 |
static VideoListDataModel *mSourceModel;
|
|
50 |
static VideoSortFilterProxyModel *mAllVideosModel;
|
|
51 |
static VideoSortFilterProxyModel *mCollectionsModel;
|
|
52 |
static VideoSortFilterProxyModel *mCollectionContentModel;
|
|
53 |
static VideoSortFilterProxyModel *mGenericModel;
|
|
54 |
};
|
|
55 |
|
|
56 |
#endif /* VIDEOSORTFILTERPROXYMODEL_H */
|