Move helpers in separate file and add unit tests

Gather helpers in `promisehelpers.h` and add a global include file to make easier integration with the lib (`#include <QtPromise>`).
This commit is contained in:
Simon Brunel
2017-05-25 09:19:36 +02:00
parent ce3ed72dd4
commit 596855f579
14 changed files with 315 additions and 43 deletions

8
include/QtPromise Normal file
View File

@ -0,0 +1,8 @@
#ifndef _QTPROMISE_MODULE_H
#define _QTPROMISE_MODULE_H
#include "../src/qtpromise/qpromise.h"
#include "../src/qtpromise/qpromisefuture.h"
#include "../src/qtpromise/qpromisehelpers.h"
#endif // ifndef _QTPROMISE_MODULE_H