X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fcore%2FInformationManager.hxx;h=a43b1181281cd1deea73b4d8cb595a1128bd108b;hp=f8e4f04011bc666c5aff24e14f4d157b2ff66130;hb=9fe5caf6408d1b7d5eb86dacdb211bd22335398a;hpb=32e87746db981882b95aceddde79ef12034a3405 diff --git a/src/core/InformationManager.hxx b/src/core/InformationManager.hxx index f8e4f04..a43b118 100644 --- a/src/core/InformationManager.hxx +++ b/src/core/InformationManager.hxx @@ -14,15 +14,18 @@ class QString; class InformationManager { public: + ~InformationManager(); + void reset(const std::string& filename); void save(const QString& filename); + void signal_new_function(Function* f); + boost::signals2::connection connect_new_function_signal(std::function f) { return new_function_signal.connect(f); } - void signal_new_function(Function* f) - { functions.insert(f); new_function_signal(f); } + boost::signals2::connection connect_new_dyn_symbol_signal(std::function f) @@ -43,6 +46,7 @@ private: boost::signals2::signal new_dyn_symbol_signal; std::unique_ptr disassembler; std::set functions; + std::set blocks; }; #endif /* INCLUDE__InformationManager_hxx */