]> git.siccegge.de Git - frida/frida.git/blob - src/core/Comment.cxx
Add new files missing from previous few commits
[frida/frida.git] / src / core / Comment.cxx
1 #include "Comment.hxx"
2 #include "Function.hxx"
3
4 Comment::Comment(uint64_t address, InformationManager* manager)
5 : address(address)
6 , location(NULL)
7 , manager(manager) {}
8
9 Comment::Comment(uint64_t address, Function* location, InformationManager* manager)
10 : address(address)
11 , location(location)
12 , manager(manager) {}
13
14 void Comment::setText(const std::string& text) {
15 this->text = text;
16 }
17
18 uint64_t Comment::getAddress() {
19 return address;
20 }