X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fcore%2FComment.hxx;fp=src%2Fcore%2FComment.hxx;h=b07f13ae1a81c8310ae3ab93104ff933529d9f0c;hp=e151f5a09b0f796de028883d6b3231610bfafbdb;hb=546b89382dd61b664c216ad7668ec783f0ad094c;hpb=099f1e8222109bf7397eff6da0c511a07906c9cd 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 */