videocollection/videocollectionwrapper/tsrc/testvideocollectionclient/stub/inc/stubcollectionsignalreceiver.h
author hgs
Fri, 16 Apr 2010 18:13:14 +0300
changeset 36 8aed59de29f9
parent 34 bbb98528c666
child 24 7d93ee07fb27
permissions -rw-r--r--
201015

/**
* 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 classes for testing CVideoCollectionClient
* 
*/

#ifndef __STUBCOLLECTIONSIGNALRECEIVER_H
#define __STUBCOLLECTIONSIGNALRECEIVER_H

#include <QObject>
// INCLUDES
#include "videodatasignalreceiver.h"

/**
 * implementation class for slots to be connected
 */
class  StubSignalReceiver  : public VideoDataSignalReceiver
{

    Q_OBJECT
    
    Q_DISABLE_COPY(StubSignalReceiver)
    
public:
    
    /**
     * contructor
     */
    StubSignalReceiver(){};
    
    /**
     * destructor
     */
    virtual ~StubSignalReceiver(){};
    
public slots:   
    
    /**
     * No implementation needed for these tests
     */
    void newVideoListSlot(CMPXMediaArray *array)
    {
        Q_UNUSED(array);
    }
   
    /**
     * No implementation needed for these tests
     */
    void appendVideoListSlot( CMPXMediaArray* array )
    {
        Q_UNUSED(array);
    }
          
    /**
     * No implementation needed for these tests
     */
    void newVideoAvailableSlot(CMPXMedia *media)
    {
        Q_UNUSED(media);
    }
    
    /**
     * No implementation needed for these tests
     */
    void itemDeletedSlot(TMPXItemId id)
    {
        Q_UNUSED(id);
    }
    
    /**
     * No implementation needed for these tests
     */
    void albumRemoveFailureSlot(QList<TMPXItemId> *items)
    {
        Q_UNUSED(items);
    }
    
    /**
     * No implementation needed for these tests
     */
    void videoDeletedSlot(TMPXItemId id)
    {
        Q_UNUSED(id);
    }
           
    /**
     * No implementation needed for these tests
     */
    void videoDeleteCompletedSlot(int count, QList<TMPXItemId> *failedIds)
    {
        Q_UNUSED(count);
        Q_UNUSED(failedIds);
    }
    
    /**
     * No implementation needed for these tests
     */
    void videoDetailsCompletedSlot(CMPXMedia* media)
    {
        Q_UNUSED(media);
    }
    
    /**
     * No implementation needed for these tests
     */
    void albumListAvailableSlot(TMPXItemId albumId, CMPXMediaArray *albumItems)
    {
        Q_UNUSED(albumId);
        Q_UNUSED(albumItems);
    }

    /**
     * No implementation needed for these tests
     */
    virtual void itemModifiedSlot(const TMPXItemId &itemId)
    {
        Q_UNUSED(itemId);
    }
};


#endif