From: Christoph Egger Date: Wed, 18 Mar 2015 13:59:14 +0000 (+0100) Subject: Add new files missing from previous few commits X-Git-Tag: v0.1~37 X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=commitdiff_plain;h=5afba5f952385321480f53091363a5fba2e16f62 Add new files missing from previous few commits --- diff --git a/src/Config.hxx.in b/src/Config.hxx.in new file mode 100644 index 0000000..6ad3f49 --- /dev/null +++ b/src/Config.hxx.in @@ -0,0 +1,6 @@ +#ifndef INCLUDE__Config_hxx_ +#define INCLUDE__Config_hxx_ + +#cmakedefine CMAKE_INSTALL_FULL_LIBDIR "@CMAKE_INSTALL_FULL_LIBDIR@" + +#endif /* INCLUDE__Config_hxx_ */ diff --git a/src/core/Comment.cxx b/src/core/Comment.cxx new file mode 100644 index 0000000..0cb804c --- /dev/null +++ b/src/core/Comment.cxx @@ -0,0 +1,20 @@ +#include "Comment.hxx" +#include "Function.hxx" + +Comment::Comment(uint64_t address, InformationManager* manager) + : address(address) + , location(NULL) + , manager(manager) {} + +Comment::Comment(uint64_t address, Function* location, InformationManager* manager) + : address(address) + , location(location) + , manager(manager) {} + +void Comment::setText(const std::string& text) { + this->text = text; +} + +uint64_t Comment::getAddress() { + return address; +} diff --git a/src/core/events/NewFunctionEvent.hxx b/src/core/events/NewFunctionEvent.hxx new file mode 100644 index 0000000..f6d477c --- /dev/null +++ b/src/core/events/NewFunctionEvent.hxx @@ -0,0 +1,17 @@ +#ifndef INCLUDE__NewFunctionEvent_hxx_ +#define INCLUDE__NewFunctionEvent_hxx_ + +#include + +class Function; + +class NewFunctionEvent { +public: + NewFunctionEvent(uint64_t address, Function* function) + : address(address), function(function) {} + + uint64_t address; + Function* function; +}; + +#endif /* INCLUDE__NewFunctionEvent_hxx_ */