FBX SDK Reference Guide: includes.h Source File
00001 // Local includes
00002 #include <kfbxevents/kfbxemitter.h>
00003 #include <kfbxevents/kfbxevents.h>
00004 #include <kfbxevents/kfbxlistener.h>
00005 #include <kfbxevents/kfbxeventhandler.h>
00006 
00007 // FBX namespace begin
00008 #include <fbxfilesdk_nsbegin.h>
00009 
00010 // FBX users must call this macro in synchronize event 
00011 // type ids between DLLs and applications.
00012 #define INITIALZE_FBX_PUBLIC_EVENTS \
00013     int ____FBXReservedIndex = 0x4000000;\
00014     KFbxQueryEvent<int>*_01_(0);_01_=_01_;KFbxQueryEvent<int>::ForceTypeId(++____FBXReservedIndex); \
00015     KFbxQueryEvent<float>*_02_(0);_02_=_02_;KFbxQueryEvent<float>::ForceTypeId(++____FBXReservedIndex); \
00016     KFbxQueryEvent<double>*_03_(0);_03_=_03_;KFbxQueryEvent<double>::ForceTypeId(++____FBXReservedIndex); \
00017     KFbxQueryEvent<KFbxSdkManager>*_04_(0);_04_=_04_;KFbxQueryEvent<KFbxSdkManager>::ForceTypeId(++____FBXReservedIndex); \
00018     KFbxQueryEvent<KFbxObject>*_05_(0);_05_=_05_;KFbxQueryEvent<KFbxObject>::ForceTypeId(++____FBXReservedIndex); \
00019     KFbxQueryEvent<KFbxDocument>*_06_(0);_06_=_06_;KFbxQueryEvent<KFbxDocument>::ForceTypeId(++____FBXReservedIndex); \
00020     KFbxQueryEvent<KFbxLibrary>*_07_(0);_07_=_07_;KFbxQueryEvent<KFbxLibrary>::ForceTypeId(++____FBXReservedIndex); \
00021     KFbxQueryEvent<KFbxImporter>*_08_(0);_08_=_08_;KFbxQueryEvent<KFbxImporter>::ForceTypeId(++____FBXReservedIndex); \
00022     KFbxQueryEvent<KFbxExporter>*_09_(0);_09_=_09_;KFbxQueryEvent<KFbxExporter>::ForceTypeId(++____FBXReservedIndex); 
00023     // MUST add new public event types HERE  
00024 
00025 namespace kfbxevents
00026 {
00027     inline void RegisterTypes(KFbxSdkManager& pSDKManager)
00028     { 
00029         // No type registration required.
00030     }
00031 }
00032 
00033 // FBX namespace end
00034 #include <fbxfilesdk_nsend.h>
00035