LWQ
2025-07-14 aef42eef51d1b86ac7217a88ce17c5156c30fe6d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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