#ifndef BASE_DISPLAY_LIB
|
#define BASE_DISPLAY_LIB
|
|
#include "IClsShape.h"
|
#include "IImageDisplay.h"
|
|
#ifdef EXPORT_DLL_BASE_DISPLAY
|
#define EXPORTED_BASE_DISPLAY _declspec(dllexport)
|
#else
|
#define EXPORTED_BASE_DISPLAY _declspec(dllimport)
|
#endif
|
|
//1. »ñÈ¡µ±Ç°µÄ°æ±¾
|
extern "C" EXPORTED_BASE_DISPLAY int Display_GetVersion(char* pszVersion, const int nBufferSize);
|
//2. ´´½¨ClsDisplayÄ£¿é
|
extern "C" EXPORTED_BASE_DISPLAY IImageDisplay* Display_CreateDisplay(void);
|
//3. ÊÍ·ÅÄ£¿é
|
extern "C" EXPORTED_BASE_DISPLAY void Display_FreeDisplay(IImageDisplay *pClsDisplay);
|
//4. ´´½¨ClsShapeÄ£¿é
|
extern "C" EXPORTED_BASE_DISPLAY IClsShape* Display_CreateClsShape(void);
|
//5. ÊÍ·ÅÄ£¿é
|
extern "C" EXPORTED_BASE_DISPLAY void Display_FreeShape(IClsShape *pShape);
|
|
#endif
|