2021-03-26 11:22:55 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <glib.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <array>
|
|
|
|
#include <optional>
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
std::optional<std::wstring> GetCurrentModulePath();
|
|
|
|
std::optional<std::wstring> GetShortcutPath();
|
|
|
|
|
2021-03-05 21:49:21 +00:00
|
|
|
#define EXTERN extern "C"
|
|
|
|
#define NOEXCEPT noexcept
|
|
|
|
#else
|
|
|
|
#define EXTERN
|
|
|
|
#define NOEXCEPT
|
2021-03-26 11:22:55 +00:00
|
|
|
#endif
|
|
|
|
|
2021-03-05 22:15:09 +00:00
|
|
|
EXTERN gboolean IsWindows10() NOEXCEPT;
|
|
|
|
EXTERN gboolean SetProcessAumid(const gchar* aumid) NOEXCEPT;
|
2021-03-05 21:49:21 +00:00
|
|
|
|
|
|
|
#undef EXTERN
|
|
|
|
#undef NOEXCEPT
|