]> git.siccegge.de Git - frida/frida.git/blobdiff - src/core/InformationManager.hxx
Remove unused has* from InformationManager
[frida/frida.git] / src / core / InformationManager.hxx
index 2f70d7365d7a27353ffc6ce843f47f99fae832f4..30444acf068da98a39fb711c623c9976ac7a6d08 100644 (file)
@@ -11,6 +11,8 @@
 #include "qt.hxx"
 #include "disassembler/Disassembler.hxx"
 
+#include "core/events/NewFunctionEvent.hxx"
+
 class Interpreter;
 
 class Function;
@@ -33,9 +35,9 @@ signals:
 public:
 #endif
        void renameFunctionEvent(RenameFunctionEvent* event);
-       void newFunctionEvent(NewFunctionEvent* event);
+       void newFunctionEvent(NewFunctionEvent event);
        void changeCommentEvent(ChangeCommentEvent* event);
-       void reset();
+       void resetEvent();
 public:
        InformationManager();
        ~InformationManager();
@@ -54,7 +56,6 @@ public:
        std::map<uint64_t, Function*>::const_iterator endFunctions();
 
        BasicBlock* getBasicBlock(uint64_t address);
-       bool hasBasicBlocks() const {return blocks.size() != 0;}
        std::map<uint64_t, BasicBlock*>::const_iterator beginBasicBlocks();
        std::map<uint64_t, BasicBlock*>::const_iterator endBasicBlocks();
 
@@ -62,7 +63,6 @@ public:
                std::multimap<uint64_t, Comment*>::const_iterator,
                std::multimap<uint64_t, Comment*>::const_iterator>
        getComments(uint64_t address);
-       bool hasComments() const {return ! comments.empty();}
        std::multimap<uint64_t,Comment*>::const_iterator beginComments();
        std::multimap<uint64_t,Comment*>::const_iterator endComments();
 
@@ -114,6 +114,7 @@ private:
        std::unique_ptr<QTemporaryFile> tmpfile;
        std::vector<QPluginLoader*> plugins;
 
+       QThread disassemblerThread;
        log4cxx::LoggerPtr logger;
 };