@@ -62,20 +62,20 @@ struct HSVColor {
6262
6363 constexpr HSVColor () : HSVColor{ 0.0 , 0.0 , 0.0 , 0 } { }
6464
65- OOPETRIS_EXPORTED [[nodiscard]] static helper::expected<HSVColor, std::string> from_string (const std::string& value
65+ OOPETRIS_CORE_EXPORTED [[nodiscard]] static helper::expected<HSVColor, std::string> from_string (const std::string& value
6666 );
6767
6868 using InfoType = std::tuple<HSVColor, color::SerializeMode, bool >;
6969
70- OOPETRIS_EXPORTED [[nodiscard]] static helper::expected<InfoType, std::string> from_string_with_info (
70+ OOPETRIS_CORE_EXPORTED [[nodiscard]] static helper::expected<InfoType, std::string> from_string_with_info (
7171 const std::string& value
7272 );
7373
74- OOPETRIS_EXPORTED [[nodiscard]] Color to_rgb_color () const ;
74+ OOPETRIS_CORE_EXPORTED [[nodiscard]] Color to_rgb_color () const ;
7575
76- OOPETRIS_EXPORTED [[nodiscard]] std::string to_string (bool force_alpha = false ) const ;
76+ OOPETRIS_CORE_EXPORTED [[nodiscard]] std::string to_string (bool force_alpha = false ) const ;
7777
78- OOPETRIS_EXPORTED std::ostream& operator <<(std::ostream& os) const ;
78+ OOPETRIS_CORE_EXPORTED std::ostream& operator <<(std::ostream& os) const ;
7979};
8080
8181namespace { // NOLINT(cert-dcl59-cpp,google-build-namespaces)
@@ -139,16 +139,16 @@ struct Color {
139139
140140 constexpr Color (u8 red, u8 green, u8 blue) : Color{ red, green, blue, 0xFF } { }
141141
142- OOPETRIS_EXPORTED [[nodiscard]] static helper::expected<Color, std::string> from_string (const std::string& value);
142+ OOPETRIS_CORE_EXPORTED [[nodiscard]] static helper::expected<Color, std::string> from_string (const std::string& value);
143143
144144 using InfoType = std::tuple<Color, color::SerializeMode, bool >;
145145
146- OOPETRIS_EXPORTED [[nodiscard]] static helper::expected<InfoType, std::string> from_string_with_info (
146+ OOPETRIS_CORE_EXPORTED [[nodiscard]] static helper::expected<InfoType, std::string> from_string_with_info (
147147 const std::string& value
148148 );
149149
150150
151- OOPETRIS_EXPORTED [[nodiscard]] HSVColor to_hsv_color () const ;
151+ OOPETRIS_CORE_EXPORTED [[nodiscard]] HSVColor to_hsv_color () const ;
152152
153153 constexpr Color (const HSVColor& color) { // NOLINT(google-explicit-constructor)
154154
@@ -260,8 +260,8 @@ struct Color {
260260 return Color{ 0xFF , 0xFF , 0xFF , alpha };
261261 };
262262
263- OOPETRIS_EXPORTED [[nodiscard]] std::string
263+ OOPETRIS_CORE_EXPORTED [[nodiscard]] std::string
264264 to_string (color::SerializeMode mode = color::SerializeMode::RGB, bool force_alpha = false ) const ;
265265
266- OOPETRIS_EXPORTED std::ostream& operator <<(std::ostream& os) const ;
266+ OOPETRIS_CORE_EXPORTED std::ostream& operator <<(std::ostream& os) const ;
267267};
0 commit comments