File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 6
6
#include < QtWidgets/QCheckBox>
7
7
#include < QtWidgets/QComboBox>
8
8
#include < QtCore/QTimer>
9
+ #ifndef BINARYNINJAUI_BINDINGS
9
10
#include < QtCore/QThread>
11
+ #endif
10
12
#include " binaryninjaapi.h"
11
13
#include " uitypes.h"
12
14
15
+ #ifdef BINARYNINJAUI_BINDINGS
16
+ // QThread has issues working in the bindings on some platforms
17
+ class GetSymbolsListThread ;
18
+ #else
13
19
class BINARYNINJAUIAPI GetSymbolsListThread: public QThread
14
20
{
15
21
Q_OBJECT
@@ -29,6 +35,7 @@ class BINARYNINJAUIAPI GetSymbolsListThread: public QThread
29
35
30
36
const QStringList& getSymbols () const { return m_allSymbols; }
31
37
};
38
+ #endif
32
39
33
40
34
41
class BINARYNINJAUIAPI AddressDialogWithPreview: public QDialog
Original file line number Diff line number Diff line change 5
5
#include < QtCore/QStringListModel>
6
6
#include < QtWidgets/QComboBox>
7
7
#include < QtCore/QTimer>
8
+ #ifndef BINARYNINJAUI_BINDINGS
8
9
#include < QtCore/QThread>
10
+ #endif
9
11
#include " binaryninjaapi.h"
10
12
#include " uitypes.h"
11
13
12
14
15
+ #ifdef BINARYNINJAUI_BINDINGS
16
+ // QThread has issues working in the bindings on some platforms
17
+ class GetTypesListThread ;
18
+ #else
13
19
class BINARYNINJAUIAPI GetTypesListThread: public QThread
14
20
{
15
21
Q_OBJECT
@@ -29,6 +35,7 @@ class BINARYNINJAUIAPI GetTypesListThread: public QThread
29
35
30
36
const QStringList& getTypes () const { return m_allTypes; }
31
37
};
38
+ #endif
32
39
33
40
class BINARYNINJAUIAPI TypeDialog: public QDialog
34
41
{
You can’t perform that action at this time.
0 commit comments