55#include < core/helper/expected.hpp>
66#include < core/helper/types.hpp>
77
8- #include " ../helper/windows .hpp"
8+ #include " ../helper/export_symbols .hpp"
99
1010#include < chrono>
1111#ifdef _WIN32
@@ -58,7 +58,7 @@ namespace constants::discord {
5858 // manually synchronized to https://discord.com/developers/applications/1220147916371394650/rich-presence/assets
5959 enum class ArtAsset : u8 { Logo };
6060
61- OOPETRIS_GRAPHICS_EXPORTED [[nodiscard]] std::string get_asset_key (ArtAsset asset);
61+ [[nodiscard]] OOPETRIS_GRAPHICS_EXPORTED std::string get_asset_key (ArtAsset asset);
6262
6363} // namespace constants::discord
6464
@@ -116,7 +116,7 @@ struct DiscordActivityWrapper {
116116 }
117117
118118
119- OOPETRIS_GRAPHICS_EXPORTED [[nodiscard]] const discordpp::Activity& get_raw () const ;
119+ [[nodiscard]] OOPETRIS_GRAPHICS_EXPORTED const discordpp::Activity& get_raw () const ;
120120};
121121
122122enum class DiscordStatus : u8 { Starting = 0 , Ok, Error };
@@ -131,15 +131,15 @@ struct DiscordInstance {
131131public:
132132 OOPETRIS_GRAPHICS_EXPORTED explicit DiscordInstance ();
133133
134- OOPETRIS_GRAPHICS_EXPORTED [[nodiscard]] DiscordStatus get_status ();
134+ [[nodiscard]] OOPETRIS_GRAPHICS_EXPORTED DiscordStatus get_status ();
135135
136136 OOPETRIS_GRAPHICS_EXPORTED DiscordInstance (DiscordInstance&& old) noexcept ;
137137
138138 OOPETRIS_GRAPHICS_EXPORTED DiscordInstance& operator =(DiscordInstance&& other) noexcept ;
139139
140- OOPETRIS_GRAPHICS_EXPORTED DiscordInstance (DiscordInstance& old) noexcept = delete;
140+ DiscordInstance (DiscordInstance& old) noexcept = delete ;
141141
142- OOPETRIS_GRAPHICS_EXPORTED DiscordInstance& operator =(const DiscordInstance& other) noexcept = delete ;
142+ DiscordInstance& operator =(const DiscordInstance& other) noexcept = delete ;
143143
144144 OOPETRIS_GRAPHICS_EXPORTED ~DiscordInstance ();
145145
0 commit comments