ZFFramework
 
Loading...
Searching...
No Matches
ZFProtocolZFAniForNative.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFProtocolZFAniForNative_h_
7#define _ZFI_ZFProtocolZFAniForNative_h_
8
9#include "ZFCore/ZFProtocol.h"
13
18public:
26 virtual void nativeAniDestroy(
28 , ZF_IN void *nativeAni
30
49 virtual void nativeAniStart(
51 , ZF_IN zffloat nativeAniScale
59
60 // ============================================================
61 // callbacks that implementations must notify
62public:
67 ani->_ZFP_ZFAniForNative_notifyStop();
68 }
70
72#endif // #ifndef _ZFI_ZFProtocolZFAniForNative_h_
73
native animation
#define zffinal
dummy macro shows that a method or class is designed must not to be overrided
Definition ZFCoreTypeDef_ClassType.h:63
#define zfpurevirtual
dummy macro shows that a method is pure virtual method
Definition ZFCoreTypeDef_ClassType.h:68
#define ZF_IN
dummy macro that shows the param used as required input
Definition ZFCoreTypeDef_ClassType.h:180
_zft_zffloat zffloat
same as float, see zfindex
Definition ZFCoreTypeDef_CoreType.h:183
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
protocol definitions for ZFFramework
#define ZFPROTOCOL_INTERFACE_END(ModuleName)
for more information, please refer to ZFPROTOCOL_INTERFACE_BEGIN
Definition ZFProtocol.h:414
#define ZFPROTOCOL_INTERFACE_BEGIN(ZFLIB_, ModuleName)
declare a protocol interface for ZFFramework
Definition ZFProtocol.h:408
protocol for ZFUIView
#define ZFLIB_ZFUIKit
used to export symbols
Definition ZFUIKitDef.h:16
animation using native implementation
Definition ZFAniForNative.h:37
void notifyAniStop(ZFAniForNative *ani)
implementation must call this to notify animation stopped
Definition ZFProtocolZFAniForNative.h:66
virtual void nativeAniStop(ZFAniForNative *ani)=0
stop native animation
virtual void nativeAniDestroy(ZFAniForNative *ani, void *nativeAni)=0
destroy native animation
virtual void nativeAniStart(ZFAniForNative *ani, zffloat nativeAniScale)=0
start native animation
virtual void * nativeAniCreate(ZFAniForNative *ani)=0
create native animation