X-Git-Url: https://git.siccegge.de//index.cgi?a=blobdiff_plain;f=src%2Fcore%2FComment.hxx;h=b07f13ae1a81c8310ae3ab93104ff933529d9f0c;hb=914bc03c4ed200f495288d8483f4b9909368b4fd;hp=e151f5a09b0f796de028883d6b3231610bfafbdb;hpb=0daf9a157f3d41690cf4a0287db1adecc4ad0b71;p=frida%2Ffrida.git diff --git a/src/core/Comment.hxx b/src/core/Comment.hxx index e151f5a..b07f13a 100644 --- a/src/core/Comment.hxx +++ b/src/core/Comment.hxx @@ -4,18 +4,24 @@ #include class Function; +class InformationManager; class Comment { public: bool isLocal() const {return location == NULL;} + void setText(const std::string& text); + uint64_t getAddress(); private: - Comment(uint64_t address); - Comment(uint64_t address, Function* location); + Comment(uint64_t address, InformationManager* manager); + Comment(uint64_t address, Function* location, InformationManager* manager); uint64_t address; Function* location; + InformationManager* manager; std::string text; + + friend class InformationManager; }; #endif /* INCLUDE__Comment_hxx */