#pragma once #if defined(_WIN32) #include #include "win/decklink-sdk/DeckLinkAPIVersion.h" typedef BOOL decklink_bool_t; typedef BSTR decklink_string_t; IDeckLinkDiscovery *CreateDeckLinkDiscoveryInstance(void); IDeckLinkIterator *CreateDeckLinkIteratorInstance(void); IDeckLinkVideoConversion *CreateVideoConversionInstance(void); #define IUnknownUUID IID_IUnknown typedef REFIID CFUUIDBytes; #define CFUUIDGetUUIDBytes(x) x #elif defined(__APPLE__) #include "mac/decklink-sdk/DeckLinkAPI.h" #include "mac/decklink-sdk/DeckLinkAPIVersion.h" #include typedef bool decklink_bool_t; typedef CFStringRef decklink_string_t; #elif defined(__linux__) #include "linux/decklink-sdk/DeckLinkAPI.h" #include "linux/decklink-sdk/DeckLinkAPIVersion.h" typedef bool decklink_bool_t; typedef const char *decklink_string_t; #endif #include #include #include bool DeckLinkStringToStdString(decklink_string_t input, std::string &output);