X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fcore%2FInformationManager.hxx;h=557816877ec9ded8804bd0f88118191818573062;hp=2e9358c9afdd05301d901241828b797e0877acc8;hb=11fd69cdfce58707599bf57c07c5a784905e23f6;hpb=efaafdaf4a18b5f2f4dd743aa3f0e609d428b15a diff --git a/src/core/InformationManager.hxx b/src/core/InformationManager.hxx index 2e9358c..5578168 100644 --- a/src/core/InformationManager.hxx +++ b/src/core/InformationManager.hxx @@ -8,6 +8,7 @@ #include #include "disassembler/Disassembler.hxx" +#include class Function; class BasicBlock; @@ -19,10 +20,12 @@ 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) @@ -92,6 +95,7 @@ private: std::map functions; std::map blocks; std::string filename; + std::unique_ptr tmpfile; log4cxx::LoggerPtr logger; };