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

Added an OS X 10.5 compatible std::function replacement

This commit is contained in:
tpoole 2017-05-03 15:36:25 +01:00
parent db346fea6d
commit f4046909ab
20 changed files with 472 additions and 47 deletions

View file

@ -114,10 +114,8 @@ public:
int getTimerInterval() const noexcept { return timerPeriodMs; }
//==============================================================================
#if JUCE_COMPILER_SUPPORTS_LAMBDAS
/** Invokes a lambda after a given number of milliseconds. */
static void JUCE_CALLTYPE callAfterDelay (int milliseconds, std::function<void()> functionToCall);
#endif
//==============================================================================
/** For internal use only: invokes any timers that need callbacks.