Files
PathEditor/libs/IUP/include/iupole.h
T
Serendipity 6509ef98e4 chore: 清理旧版IUP库文件并更新头文件路径
删除旧的iup-3.31_Win64_dllw6_lib目录下的所有DLL和静态库文件
将IUP头文件从旧目录迁移到新的libs/IUP/include统一路径
更新CMakeLists.txt中的包含路径和库链接配置
简化DLL复制逻辑,只复制核心iup.dll文件
2026-03-19 20:14:06 +08:00

46 lines
853 B
C

/** \file
* \brief Ole control.
*
* See Copyright Notice in "iup.h"
*/
#ifndef __IUPOLE_H
#define __IUPOLE_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef DOXYGEN_SHOULD_IGNORE_THIS
/** @cond DOXYGEN_SHOULD_IGNORE_THIS */
#ifndef IUPOLE_API
#ifdef IUPOLE_BUILD_LIBRARY
#ifdef __EMSCRIPTEN__
#include <emscripten.h>
#define IUPOLE_API EMSCRIPTEN_KEEPALIVE
#elif WIN32
#define IUPOLE_API __declspec(dllexport)
#elif defined(__GNUC__) && __GNUC__ >= 4
#define IUPOLE_API __attribute__ ((visibility("default")))
#else
#define IUPOLE_API
#endif
#else
#define IUPOLE_API
#endif /* IUP_BUILD_LIBRARY */
#endif /* IUPOLE_API */
/** @endcond DOXYGEN_SHOULD_IGNORE_THIS */
#endif /* DOXYGEN_SHOULD_IGNORE_THIS */
IUPOLE_API Ihandle *IupOleControl(const char* progid);
IUPOLE_API int IupOleControlOpen(void);
#ifdef __cplusplus
}
#endif
#endif