mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 19:36:11 +00:00
Get rid of circular include between Cutter.h and CutterPlugin.h (#2390)
This commit is contained in:
parent
83cd7e8698
commit
48192d799a
@ -23,7 +23,6 @@ class Decompiler;
|
||||
class R2Task;
|
||||
class R2TaskDialog;
|
||||
|
||||
#include "plugins/CutterPlugin.h"
|
||||
#include "common/BasicBlockHighlighter.h"
|
||||
#include "common/R2Task.h"
|
||||
#include "common/Helpers.h"
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include "common/TempConfig.h"
|
||||
#include "common/RunScriptTask.h"
|
||||
#include "common/PythonManager.h"
|
||||
#include "plugins/CutterPlugin.h"
|
||||
#include "plugins/PluginManager.h"
|
||||
#include "CutterConfig.h"
|
||||
#include "CutterApplication.h"
|
||||
|
@ -5,6 +5,8 @@
|
||||
#include <QMenu>
|
||||
#include <QKeySequence>
|
||||
|
||||
class MainWindow;
|
||||
|
||||
class CUTTER_EXPORT AddressableItemContextMenu : public QMenu
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -6,6 +6,8 @@
|
||||
#include <QMenu>
|
||||
#include <QKeySequence>
|
||||
|
||||
class MainWindow;
|
||||
|
||||
class CUTTER_EXPORT DisassemblyContextMenu : public QMenu
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -1,10 +1,8 @@
|
||||
#ifndef CUTTERPLUGIN_H
|
||||
#define CUTTERPLUGIN_H
|
||||
|
||||
class CutterPlugin;
|
||||
class MainWindow;
|
||||
|
||||
#include "core/Cutter.h"
|
||||
#include "widgets/CutterDockWidget.h"
|
||||
|
||||
class CUTTER_EXPORT CutterPlugin
|
||||
|
@ -10,11 +10,13 @@
|
||||
#include "PluginManager.h"
|
||||
#include "CutterPlugin.h"
|
||||
#include "CutterConfig.h"
|
||||
#include "common/Helpers.h"
|
||||
|
||||
#include <QDir>
|
||||
#include <QCoreApplication>
|
||||
#include <QPluginLoader>
|
||||
#include <QStandardPaths>
|
||||
#include <QDebug>
|
||||
|
||||
Q_GLOBAL_STATIC(PluginManager, uniqueInstance)
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
class CutterPlugin;
|
||||
#include "plugins/CutterPlugin.h"
|
||||
|
||||
class PluginManager: public QObject
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user