diff options
| author | Xusheng <xusheng@vector35.com> | 2021-02-05 20:28:13 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2021-04-22 10:52:39 +0800 |
| commit | c4b1dd712783e7474570705e6d95183a0c02a76e (patch) | |
| tree | 0393986e0078cb20610c8ad091db061f8f41a08b /ui/addressdialog.h | |
| parent | a355d5c9aa1978d10f378931bfd5f06be60bae98 (diff) | |
add persistent search result
Diffstat (limited to 'ui/addressdialog.h')
| -rw-r--r-- | ui/addressdialog.h | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/ui/addressdialog.h b/ui/addressdialog.h index eee9d836..1f67664d 100644 --- a/ui/addressdialog.h +++ b/ui/addressdialog.h @@ -11,31 +11,7 @@ #endif #include "binaryninjaapi.h" #include "uitypes.h" - -#ifdef BINARYNINJAUI_BINDINGS -// QThread has issues working in the bindings on some platforms -class GetSymbolsListThread; -#else -class BINARYNINJAUIAPI GetSymbolsListThread: public QThread -{ - Q_OBJECT - - QStringList m_allSymbols; - std::function<void()> m_completeFunc; - std::mutex m_mutex; - bool m_done; - BinaryViewRef m_view; - -protected: - virtual void run() override; - -public: - GetSymbolsListThread(BinaryViewRef view, const std::function<void()>& completeFunc); - void cancel(); - - const QStringList& getSymbols() const { return m_allSymbols; } -}; -#endif +#include "getsymbolslistthread.h" class BINARYNINJAUIAPI AddressDialogWithPreview: public QDialog |
