Browse Source

Fix Doxygen bug with Singleton macros

tags/2021-05-28
Noah Dayan 7 years ago
parent
commit
a0db644e22
3 changed files with 6 additions and 1 deletions
  1. +2
    -1
      modules/juce_analytics/analytics/juce_Analytics.h
  2. +2
    -0
      modules/juce_gui_basics/components/juce_ModalComponentManager.h
  3. +2
    -0
      modules/juce_gui_extra/misc/juce_PushNotifications.h

+ 2
- 1
modules/juce_analytics/analytics/juce_Analytics.h View File

@@ -79,8 +79,9 @@ public:
*/
void setSuspended (bool shouldBeSuspended);
#ifndef DOXYGEN
juce_DeclareSingleton (Analytics, true)
#endif
private:
//==============================================================================


+ 2
- 0
modules/juce_gui_basics/components/juce_ModalComponentManager.h View File

@@ -74,7 +74,9 @@ public:
};
//==============================================================================
#ifndef DOXYGEN
juce_DeclareSingleton_SingleThreaded_Minimal (ModalComponentManager)
#endif
//==============================================================================
/** Returns the number of components currently being shown modally.


+ 2
- 0
modules/juce_gui_extra/misc/juce_PushNotifications.h View File

@@ -44,7 +44,9 @@ namespace juce
class JUCE_API PushNotifications
{
public:
#ifndef DOXYGEN
juce_DeclareSingleton (PushNotifications, false)
#endif
//==========================================================================
/** Represents a notification that can be sent or received. */


Loading…
Cancel
Save