idlefw/tsrc/wsplugin/stub/wsanim_stub.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 10:13:44 +0300
branchRCL_3
changeset 111 053c6c7c14f3
permissions -rw-r--r--
Revision: 201026 Kit: 201033

/*
* 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:
*
*/

// wsanim.h

#ifndef _WSANIM_STUB_H
#define _WSANIM_STUB_H

#include <w32adll.h>

class MAnimGeneralFunctions;

/**
 * Stub of CWsAnim for CAiWsPluginAnim unit test.
 */
class CWsAnim : public CBase
    {
public:
    static void SetFunctions
            (CAnim& aAnim, MAnimGeneralFunctions* aFunctions)
        {
        // CWsAnim is friend of CAnim which enables setting its protected members
        aAnim.iFunctions = aFunctions;        
        }
        
private:
    // Private constructor to prevent instantiation of this class
    CWsAnim() {}
    };
    
    
#endif // _WSANIM_STUB_H