videocollection/tsrc/stubs/inc/videocollectionwrapperdata.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 08:30:05 +0300
changeset 62 0e1e938beb1a
parent 15 cf5481c2bc0b
permissions -rw-r--r--
Revision: 201035 Kit: 201037

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: stub videocollectionwrapperdata
* 
*/

#ifndef VIDEOCOLLECTIONWRAPPERDATA_H
#define VIDEOCOLLECTIONWRAPPERDATA_H

#include "videoproxymodelgeneric.h"
#include "videoproxymodelallvideos.h"
#include "videoproxymodelcollections.h"
#include "videoproxymodelcontent.h"
#include "videolistdatamodel.h"
#include <qpointer.h>

class VideoCollectionWrapperData : public QObject
{
    Q_OBJECT 
    
public: // methods
    static void reset();
    /*{
        mGetGenericModelFails = false;
        mGetAllVideosModelFails = false;
        mGetCollectionsModelFails = false;
        mGetCollectionContentModelFails = false;
        
        delete mAllVideosModel;
        delete mCollectionsModel;
        delete mCollectionContentModel;
        delete mGenericModel;

        delete mSourceModel;
        mSourceModel = 0;        
    }*/
    
public: // data
    static bool mGetGenericModelFails;
    static bool mGetAllVideosModelFails;
    static bool mGetCollectionsModelFails;
    static bool mGetCollectionContentModelFails;
    static VideoListDataModel *mSourceModel;
    static QPointer<VideoProxyModelGeneric> mAllVideosModel;
    static QPointer<VideoProxyModelGeneric> mCollectionsModel;
    static QPointer<VideoProxyModelGeneric> mCollectionContentModel;
    static QPointer<VideoProxyModelGeneric> mGenericModel;
};

#endif /* VIDEOCOLLECTIONWRAPPERDATA_H */