rfid.h
来自「可捕捉到硬體的三軸的值」· C头文件 代码 · 共 48 行
H
48 行
#pragma once
#ifdef RFID_EXPORTS
#define RFID_API __declspec(dllexport)
#else
#define RFID_API __declspec(dllimport)
#endif
#include "d3dx9math.h"
#include "Aco_Vector.h"
#define RFID_NAME "RFID"
#define RFID_VERSION 1
//{FE758B53-0C8E-47B4-BC38-FAD18C185EB3}
static const GUID RFID_GUID = { 0xFE758B53, 0x0C8E, 0x47B4, { 0xBC, 0x38, 0xFA, 0xD1, 0x8C, 0x18, 0x5E, 0xB3 } };
class RFID_API RFID: public Aco_VectorChannel
{
public:
RFID();
virtual ~RFID();
// Save persistent channel data in channel group
virtual bool SaveChannel(A3dFileSaver& saver);
// Load persistent channel data from channel group
virtual bool LoadChannel(A3dFileLoader& loader, A3d_ChannelGroup *group);
// Add needed dependencies for publishing
virtual void DoDependencyInit(A3d_List* currentDependList);
//CallChannel function invoked by the engine
virtual void CallChannel();
protected:
};
// Leave rest of header file intact!
#define RFIDDLL_EXPORTS extern "C" { \
__declspec(dllexport) DllInterface * __cdecl InitDLL() \
{ \
return new RFID; \
} \
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?