2015-02-18 15:15:38 -08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#if defined(_WIN32)
|
2015-02-28 17:17:32 -08:00
|
|
|
#include <DeckLinkAPI.h>
|
2017-05-05 05:55:06 -07:00
|
|
|
typedef BOOL decklink_bool_t;
|
2015-02-28 17:17:32 -08:00
|
|
|
typedef BSTR decklink_string_t;
|
|
|
|
IDeckLinkDiscovery *CreateDeckLinkDiscoveryInstance(void);
|
|
|
|
#define IUnknownUUID IID_IUnknown
|
|
|
|
typedef REFIID CFUUIDBytes;
|
|
|
|
#define CFUUIDGetUUIDBytes(x) x
|
2015-02-18 15:15:38 -08:00
|
|
|
#elif defined(__APPLE__)
|
2015-02-18 15:21:30 -08:00
|
|
|
#include "mac/decklink-sdk/DeckLinkAPI.h"
|
|
|
|
#include <CoreFoundation/CoreFoundation.h>
|
2017-05-05 05:55:06 -07:00
|
|
|
typedef bool decklink_bool_t;
|
2015-02-18 15:21:30 -08:00
|
|
|
typedef CFStringRef decklink_string_t;
|
2015-02-18 15:15:38 -08:00
|
|
|
#elif defined(__linux__)
|
2015-02-19 17:15:59 -08:00
|
|
|
#include "linux/decklink-sdk/DeckLinkAPI.h"
|
2017-05-05 05:55:06 -07:00
|
|
|
typedef bool decklink_bool_t;
|
2015-02-19 17:15:59 -08:00
|
|
|
typedef const char *decklink_string_t;
|
2015-02-18 15:15:38 -08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <util/windows/HRError.hpp>
|
|
|
|
#include <util/windows/ComPtr.hpp>
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2019-06-22 22:13:45 -07:00
|
|
|
bool DeckLinkStringToStdString(decklink_string_t input, std::string &output);
|