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:
parent
c6ed2626e1
commit
58a99ff139
30 changed files with 211 additions and 214 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue