videocollection/videocollectionwrapper/tsrc/testvideocollectionwrapper_p/stub/src/videoproxymodelgeneric.cpp
changeset 62 0e1e938beb1a
equal deleted inserted replaced
59:a76e86df7ccd 62:0e1e938beb1a
       
     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 VideoProxyModelGeneric for VideoCollectionWrapperPrivate unit tests   
       
    15 * 
       
    16 */
       
    17 
       
    18 #include <qstringlist.h>
       
    19 #include <qtimer.h>
       
    20 #include <qdatetime.h>
       
    21 
       
    22 #include "videocollectioncommon.h"
       
    23 #include "videoproxymodelgeneric.h"
       
    24 #include "videolistdatamodel.h"
       
    25 #include "videocollectionclient.h"
       
    26 
       
    27 int VideoProxyModelGeneric::mGenericModelConstructCallCount = 0;
       
    28 
       
    29 // -----------------------------------------------------------------------------
       
    30 // VideoProxyModelGeneric::VideoProxyModelGeneric
       
    31 // -----------------------------------------------------------------------------
       
    32 //
       
    33 VideoProxyModelGeneric::VideoProxyModelGeneric(QObject *parent) : 
       
    34 QObject(parent),
       
    35 mModel(0)
       
    36 {
       
    37 }
       
    38 
       
    39 // -----------------------------------------------------------------------------
       
    40 // VideoProxyModelGeneric::~VideoProxyModelGeneric
       
    41 // -----------------------------------------------------------------------------
       
    42 //
       
    43 VideoProxyModelGeneric::~VideoProxyModelGeneric() 
       
    44 {
       
    45 }
       
    46 
       
    47 // -----------------------------------------------------------------------------
       
    48 // VideoProxyModelGeneric::initialize
       
    49 // -----------------------------------------------------------------------------
       
    50 //
       
    51 int VideoProxyModelGeneric::initialize(VideoListDataModel *sourceModel)
       
    52 {
       
    53     mModel = sourceModel;
       
    54     return 0;
       
    55 }
       
    56 
       
    57 // end of file