dll pack & replace mt

This commit is contained in:
王劲鹏
2021-05-18 16:15:28 +08:00
committed by osborn
parent e82e598921
commit ada65c836f
44 changed files with 137 additions and 60 deletions

View File

@@ -4,7 +4,9 @@
#include <QJSValue>
#include <QObject>
class DoricBridgeExtension : public QObject {
#include "DoricExport.h"
class DORIC_EXPORT DoricBridgeExtension : public QObject {
Q_OBJECT
public:
explicit DoricBridgeExtension(QObject *parent = nullptr);

View File

@@ -4,10 +4,12 @@
#include <QJSValue>
#include <QThreadPool>
#include "DoricExport.h"
#include "../DoricRegistry.h"
#include "DoricInterfaceJSE.h"
class DoricJSEngine : public QObject {
class DORIC_EXPORT DoricJSEngine : public QObject {
Q_OBJECT
private:
DoricInterfaceJSE *mJSE;

View File

@@ -3,7 +3,9 @@
#include <QObject>
class DoricNativeEmpty : public QObject {
#include "DoricExport.h"
class DORIC_EXPORT DoricNativeEmpty : public QObject {
Q_OBJECT
public:

View File

@@ -1,13 +1,15 @@
#ifndef NATIVE_JSE_H
#define NATIVE_JSE_H
#include "DoricExport.h"
#include "DoricInterfaceJSE.h"
#include "native/NativeExecutor.h"
#include "v8/V8Executor.h"
enum class JSEType { V8, Native };
class DoricNativeJSE : public DoricInterfaceJSE {
class DORIC_EXPORT DoricNativeJSE : public DoricInterfaceJSE {
private:
JSEType mType;

View File

@@ -3,7 +3,9 @@
#include <QObject>
class DoricNativeLog : public QObject {
#include "DoricExport.h"
class DORIC_EXPORT DoricNativeLog : public QObject {
Q_OBJECT
public:

View File

@@ -3,7 +3,9 @@
#include <QObject>
class DoricNativeRequire : public QObject {
#include "DoricExport.h"
class DORIC_EXPORT DoricNativeRequire : public QObject {
Q_OBJECT
public:

View File

@@ -4,7 +4,9 @@
#include <QObject>
#include <QSet>
class DoricTimerExtension : public QObject {
#include "DoricExport.h"
class DORIC_EXPORT DoricTimerExtension : public QObject {
Q_OBJECT
private: