#include <vector>
#include <sigc++/sigc++.h>
+#include <msp/core/mspcore_api.h>
#include <msp/core/mutex.h>
#include <msp/core/noncopyable.h>
#include <msp/core/semaphore.h>
This class is thread-safe, to allow running timers in a separate thread.
*/
-class Timer: private NonCopyable
+class MSPCORE_API Timer: private NonCopyable
{
public:
class Slot
private:
struct SlotProxy
{
- Slot *slot = nullptr;
+ Slot *slot;
- SlotProxy(Slot *);
bool operator<(const SlotProxy &) const;
};