mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-08-03 15:47:34 -04:00
24 lines
499 B
C++
24 lines
499 B
C++
#ifndef MINIWIN_CONFIG_H
|
|
#define MINIWIN_CONFIG_H
|
|
|
|
#include <string>
|
|
|
|
#ifdef _WIN32
|
|
#define MINIWIN_EXPORT __declspec(dllexport)
|
|
#else
|
|
#define MINIWIN_EXPORT __attribute__((visibility("default")))
|
|
#endif
|
|
|
|
enum MiniwinBackendType {
|
|
eInvalid,
|
|
eSDL3GPU,
|
|
};
|
|
|
|
MiniwinBackendType MINIWIN_EXPORT Miniwin_StringToBackendType(const char* str);
|
|
|
|
std::string MINIWIN_EXPORT Miniwin_BackendTypeToString(MiniwinBackendType type);
|
|
|
|
void MINIWIN_EXPORT Miniwin_ConfigureBackend(MiniwinBackendType type);
|
|
|
|
#endif
|