idlefw/tsrc/wsplugin/stub/wsanim_stub.h
branchRCL_3
changeset 111 053c6c7c14f3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/idlefw/tsrc/wsplugin/stub/wsanim_stub.h	Thu Aug 19 10:13:44 2010 +0300
@@ -0,0 +1,46 @@
+/*
+* 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