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:
parent
db346fea6d
commit
f4046909ab
20 changed files with 472 additions and 47 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue