2019-05-30 00:09:58 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QtGlobal>
|
|
|
|
#include <cstdint>
|
|
|
|
#include <cstddef>
|
|
|
|
|
2019-06-17 03:32:22 -07:00
|
|
|
#include "bindings.h"
|
|
|
|
|
2019-06-13 14:55:22 -07:00
|
|
|
#ifdef TYCHO_DEBUG_PRINT
|
|
|
|
#define dbgPrint(...) qDebug(__VA_ARGS__)
|
|
|
|
#else
|
|
|
|
#define dbgPrint(...)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define dbgPrintFunc() dbgPrint("%s", __func__)
|
2019-05-30 00:09:58 -07:00
|
|
|
|
2019-06-13 18:10:33 -07:00
|
|
|
constexpr std::uint32_t fourCC(std::uint8_t a,
|
|
|
|
std::uint8_t b,
|
|
|
|
std::uint8_t c,
|
|
|
|
std::uint8_t d)
|
|
|
|
{
|
|
|
|
return (a << 24) | (b << 16) | (c << 8) | d;
|
|
|
|
}
|
|
|
|
|
2019-06-14 09:13:11 -07:00
|
|
|
extern "C" {
|
|
|
|
char const *tychoAuthors();
|
|
|
|
char const *tychoHomepage();
|
|
|
|
char const *tychoLicenseText();
|
|
|
|
char const *tychoRepository();
|
|
|
|
char const *tychoVersion();
|
|
|
|
}
|
|
|
|
|
2019-05-30 00:09:58 -07:00
|
|
|
// EOF
|