diff --git a/modules/juce_core/files/juce_RangedDirectoryIterator.h b/modules/juce_core/files/juce_RangedDirectoryIterator.h index ef9b6d2234..b01a609277 100644 --- a/modules/juce_core/files/juce_RangedDirectoryIterator.h +++ b/modules/juce_core/files/juce_RangedDirectoryIterator.h @@ -43,7 +43,7 @@ JUCE_BEGIN_IGNORE_DEPRECATION_WARNINGS @tags{Core} */ -class DirectoryEntry final +class JUCE_API DirectoryEntry final { public: /** The path to a file or folder. */ @@ -107,7 +107,7 @@ inline const DirectoryEntry& operator* (const DirectoryEntry& e) noexcept { retu @tags{Core} */ -class RangedDirectoryIterator final +class JUCE_API RangedDirectoryIterator final { public: using difference_type = std::ptrdiff_t; diff --git a/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.h b/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.h index 37f6b4948d..311c057490 100644 --- a/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.h +++ b/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.h @@ -196,7 +196,7 @@ public: //============================================================================== /** Can be used to save and restore the editor's caret position, selection state, etc. */ - struct State + struct JUCE_API State { /** Creates an object containing the state of the given editor. */ State (const CodeEditorComponent&); @@ -253,7 +253,7 @@ public: struct JUCE_API ColourScheme { /** Defines a colour for a token type */ - struct TokenType + struct JUCE_API TokenType { String name; Colour colour;