This commit is contained in:
2018-09-17 22:39:52 +02:00
10 changed files with 184 additions and 431 deletions

View File

@@ -1,11 +1,13 @@
#include "version.h"
#include "version.gen.h"
#include "windows.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;
#ifdef _WIN32
#include "windows.h"
const wchar_t* g_version_w = TEXT(PP_VERSION_STRING);
const wchar_t* g_version_number_w = TEXT(PP_VERSION_NUMBER_STRING);
const wchar_t* g_window_title_w = L"PanoPainter " TEXT(PP_VERSION_NUMBER_STRING);
#endif

View File

@@ -4,6 +4,8 @@ extern const char* g_version;
extern const char* g_version_number;
extern const char* g_window_title;
#ifdef _WIN32
extern const wchar_t* g_version_w;
extern const wchar_t* g_version_number_w;
extern const wchar_t* g_window_title_w;
#endif