diff options
Diffstat (limited to 'client/threadboundary.cpp')
-rw-r--r-- | client/threadboundary.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/client/threadboundary.cpp b/client/threadboundary.cpp new file mode 100644 index 0000000..cd30e74 --- /dev/null +++ b/client/threadboundary.cpp | |||
@@ -0,0 +1,9 @@ | |||
1 | #include "threadboundary.h" | ||
2 | |||
3 | Q_DECLARE_METATYPE(std::function<void()>); | ||
4 | |||
5 | namespace async { | ||
6 | ThreadBoundary::ThreadBoundary(): QObject() { qRegisterMetaType<std::function<void()> >("std::function<void()>"); } | ||
7 | ThreadBoundary:: ~ThreadBoundary() {} | ||
8 | } | ||
9 | |||