12345678910111213141516171819202122232425262728 |
- #pragma once
- #include "Thread.h"
- #include <functional>
- namespace Framework
- {
- class AsynchronCall : private Thread
- {
- private:
- std::function< void() > f;
- bool *finished;
- void thread() override;
- void threadEnd() override;
- public:
-
-
-
- __declspec( dllexport ) AsynchronCall( std::function< void() > f );
-
-
-
-
- __declspec( dllexport ) AsynchronCall( std::function< void() > f, bool *finished );
- };
- }
|