dll pack & replace mt
This commit is contained in:
@@ -3,12 +3,14 @@
|
||||
|
||||
#include <QJSValue>
|
||||
|
||||
#include "DoricExport.h"
|
||||
|
||||
#include "DoricCallback.h"
|
||||
#include "DoricSettableFuture.h"
|
||||
|
||||
static QJSValue EMPTY(QJSValue::NullValue);
|
||||
|
||||
class DoricAsyncResult {
|
||||
class DORIC_EXPORT DoricAsyncResult {
|
||||
private:
|
||||
QJSValue result = EMPTY;
|
||||
DoricCallback *callback;
|
||||
|
@@ -3,9 +3,11 @@
|
||||
|
||||
#include <QJSValue>
|
||||
|
||||
#include "DoricExport.h"
|
||||
|
||||
#include "utils/DoricCountDownLatch.h"
|
||||
|
||||
class DoricSettableFuture {
|
||||
class DORIC_EXPORT DoricSettableFuture {
|
||||
private:
|
||||
QJSValue mResult;
|
||||
DoricCountDownLatch *mReadyLatch = new DoricCountDownLatch();
|
||||
|
Reference in New Issue
Block a user