]> git.siccegge.de Git - frida/frida.git/blobdiff - src/core/Comment.hxx
Make GUI Widget move Comments through the backend properly
[frida/frida.git] / src / core / Comment.hxx
index b07f13ae1a81c8310ae3ab93104ff933529d9f0c..ca3e89cb6ab017ff327738f18ebc4e800e9f1392 100644 (file)
@@ -11,7 +11,9 @@ public:
        bool isLocal() const {return location == NULL;}
 
        void setText(const std::string& text);
        bool isLocal() const {return location == NULL;}
 
        void setText(const std::string& text);
+       std::string getText() const {return text;}
        uint64_t getAddress();
        uint64_t getAddress();
+       Function* getLocation();
 private:
        Comment(uint64_t address, InformationManager* manager);
        Comment(uint64_t address, Function* location, InformationManager* manager);
 private:
        Comment(uint64_t address, InformationManager* manager);
        Comment(uint64_t address, Function* location, InformationManager* manager);