: logger(log4cxx::Logger::getLogger("core.InformationManager"))
{
current_information_manager = this;
+ qRegisterMetaType<NewFunctionEvent>("NewFunctionEvent");
QPluginLoader* loader = new QPluginLoader("libguilePlugin", NULL);
if (!loader->load())
#ifndef INCLUDE__NewFunctionEvent_hxx_
#define INCLUDE__NewFunctionEvent_hxx_
+#include <QMetaType>
+
class Function;
class NewFunctionEvent {
public:
+ NewFunctionEvent()
+ : address(0), function(NULL) {}
NewFunctionEvent(uint64_t address, Function* function)
: address(address), function(function) {}
Function* function;
};
+Q_DECLARE_METATYPE(NewFunctionEvent)
+
#endif /* INCLUDE__NewFunctionEvent_hxx_ */
QApplication::setApplicationVersion("0.2+");
QApplication::addLibraryPath(CONFIG_LIBDIR "/frida/plugins/Interpreter");
qRegisterMetaType<QVector<int> >("QVector<int>");
+ qRegisterMetaType<uint64_t>("uint64_t");
#ifdef ARGPARSE
parser.addHelpOption();
parser.addVersionOption();