00001
00002
00003
00004
00006
00008
00009
00010
00012
00013
00014 #ifndef SRM_DIRECTION_H_INCLUDED
00015 #define SRM_DIRECTION_H_INCLUDED
00016
00017 #if !defined(_WIN32)
00018 #define EXPORT_DLL
00019 #elif !defined(EXPORT_DLL)
00020 #if defined(_LIB)
00021 #define EXPORT_DLL
00022 #elif defined(_USRDLL)
00023 #define EXPORT_DLL __declspec(dllexport)
00024 #else
00025 #define EXPORT_DLL __declspec(dllimport)
00026 #endif
00027 #endif
00028
00029 #include "srm.h"
00030
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034
00038 typedef struct {
00039 SRM_Destroy *Destroy;
00040 } SRM_Direction_Method_List;
00041
00046 typedef struct {
00047 void *state;
00048 SRM_Direction_Method_List *methods;
00049 } SRM_Direction;
00050
00051
00052 #ifdef __cplusplus
00053 }
00054 #endif
00055 #endif