1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Dragged the singleton macros into the 21st century.. Cleaned up their implementation and gave them new upper-case names to match juce official style. The old names are still defined to avoid breaking old code, but please update before they get deprecated!

This commit is contained in:
jules 2017-12-12 16:24:40 +00:00
parent c6ed2626e1
commit 58a99ff139
30 changed files with 211 additions and 214 deletions

View file

@ -40,7 +40,7 @@ public:
AllComponentRepainter() {}
~AllComponentRepainter() { clearSingletonInstance(); }
juce_DeclareSingleton (AllComponentRepainter, false)
JUCE_DECLARE_SINGLETON (AllComponentRepainter, false)
void trigger()
{
@ -89,8 +89,8 @@ private:
}
};
juce_ImplementSingleton (AllComponentRepainter)
juce_ImplementSingleton (ValueList)
JUCE_IMPLEMENT_SINGLETON (AllComponentRepainter)
JUCE_IMPLEMENT_SINGLETON (ValueList)
//==============================================================================
int64 parseInt (String s)