X-Git-Url: https://git.siccegge.de//index.cgi?a=blobdiff_plain;f=src%2Fcore%2FInformationManager.hxx;h=f3f34069362ce9541e9f289906d94c71d0ab53e2;hb=f58969ddf1d22882bff102ef597c6f129255894a;hp=243ca94407766506eab1d0582d341f4f93a11423;hpb=8995413dc4cdfaa8d617a8823050c32f921c6ada;p=frida%2Ffrida.git diff --git a/src/core/InformationManager.hxx b/src/core/InformationManager.hxx index 243ca94..f3f3406 100644 --- a/src/core/InformationManager.hxx +++ b/src/core/InformationManager.hxx @@ -14,15 +14,18 @@ class BasicBlock; class Comment; class QString; +class QTemporaryFile; class RenameFunctionEvent; class InformationManager { public: + InformationManager(); ~InformationManager(); void reset(const std::string& filename); - void save(const QString& filename); + void load(const std::string& filename); + void save(const std::string& filename); void signal_new_function(Function* f); void signal_new_dyn_symbol(const std::string& f) @@ -91,6 +94,8 @@ private: std::unique_ptr disassembler; std::map functions; std::map blocks; + std::string filename; + std::unique_ptr tmpfile; log4cxx::LoggerPtr logger; };