Mercurial > foo_out_sdl
view foosdk/sdk/foobar2000/SDK/timer.h @ 1:20d02a178406 default tip
*: check in everything else
yay
| author | Paper <paper@tflc.us> |
|---|---|
| date | Mon, 05 Jan 2026 02:15:46 -0500 |
| parents | |
| children |
line wrap: on
line source
#pragma once #include <functional> #include "completion_notify.h" #if FOOBAR2020 namespace fb2k { //! \since 2.0 class NOVTABLE timerManager : public service_base { FB2K_MAKE_SERVICE_COREAPI(timerManager); public: virtual objRef addTimer( double interval, completion_notify::ptr callback ) = 0; }; objRef registerTimer( double interval, std::function<void ()> func ); void callLater( double timeAfter, std::function< void () > func ); } #endif // FOOBAR2020
