openAction = new QAction(tr("&Open"), this);
loadAction = new QAction(tr("&Load"), this);
saveAction = new QAction(tr("&Save"), this);
openAction = new QAction(tr("&Open"), this);
loadAction = new QAction(tr("&Load"), this);
saveAction = new QAction(tr("&Save"), this);
- QPluginLoader* loader = new QPluginLoader("libguilePlugin", this);
- if (!loader->load())
- LOG4CXX_ERROR(logger, "Loading plugin failed: " << loader->errorString().toStdString());
- interpreter["GUILE"] = qobject_cast<Interpreter*>(loader->instance());
fdock = new FridaDock(tr("Frida Dock"), this);
fdock->addTab(new LogDock(fdock), "Log");
fdock = new FridaDock(tr("Frida Dock"), this);
fdock->addTab(new LogDock(fdock), "Log");
fdock->setAllowedAreas(Qt::BottomDockWidgetArea);
addDockWidget(Qt::BottomDockWidgetArea, fdock);
QAction* guileLoad = new QAction(tr("&GUILE"), this);
fdock->setAllowedAreas(Qt::BottomDockWidgetArea);
addDockWidget(Qt::BottomDockWidgetArea, fdock);
QAction* guileLoad = new QAction(tr("&GUILE"), this);
[&]() {
QString fileName = QFileDialog::getOpenFileName(this, tr("Open Script"), "",
tr("Binaries") + " (*." +
[&]() {
QString fileName = QFileDialog::getOpenFileName(this, tr("Open Script"), "",
tr("Binaries") + " (*." +
- interpreter["GUILE"]->loadFile(fileName.toStdString(), a, b, c);
+ manager->getInterpreter("GUILE")->loadFile(fileName.toStdString(), a, b, c);