anotherim-desktop/plugins/windows-notification/api/include/win32.hpp

27 lines
476 B
C++
Raw Normal View History

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();
#define EXTERN extern "C"
#define NOEXCEPT noexcept
#else
#define EXTERN
#define NOEXCEPT
2021-03-26 11:22:55 +00:00
#endif
EXTERN gboolean SupportsModernNotifications() NOEXCEPT;
EXTERN gboolean SetAppModelID(const gchar* aumid) NOEXCEPT;
#undef EXTERN
#undef NOEXCEPT