#include "version.h"
#include "version.gen.h"

const char* g_version = PP_VERSION_STRING;
const char* g_version_number = PP_VERSION_NUMBER_STRING;
const char* g_window_title = "PanoPainter " PP_VERSION_NUMBER_STRING;
const int g_version_major = PP_VERSION_MAJOR;
const int g_version_minor = PP_VERSION_MINOR;
const int g_version_fix = PP_VERSION_FIX;
const int g_version_build = PP_VERSION_BUILD;

#ifdef _WIN32
#include <windows.h>
#define PP_WIDEN2(x) L##x
#define PP_WIDEN(x) PP_WIDEN2(x)
const wchar_t* g_version_w = PP_WIDEN(PP_VERSION_STRING);
const wchar_t* g_version_number_w = PP_WIDEN(PP_VERSION_NUMBER_STRING);
const wchar_t* g_window_title_w = L"PanoPainter " PP_WIDEN(PP_VERSION_NUMBER_STRING);
#endif
