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 21:49:21 +00:00
|
|
|
EXTERN gboolean SupportsModernNotifications() NOEXCEPT;
|
|
|
|
EXTERN gboolean SetAppModelID(const gchar* aumid) NOEXCEPT;
|
|
|
|
|
|
|
|
#undef EXTERN
|
|
|
|
#undef NOEXCEPT
|