mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 11:56:12 +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 R2Task;
|
||||||
class R2TaskDialog;
|
class R2TaskDialog;
|
||||||
|
|
||||||
#include "plugins/CutterPlugin.h"
|
|
||||||
#include "common/BasicBlockHighlighter.h"
|
#include "common/BasicBlockHighlighter.h"
|
||||||
#include "common/R2Task.h"
|
#include "common/R2Task.h"
|
||||||
#include "common/Helpers.h"
|
#include "common/Helpers.h"
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
#include "common/TempConfig.h"
|
#include "common/TempConfig.h"
|
||||||
#include "common/RunScriptTask.h"
|
#include "common/RunScriptTask.h"
|
||||||
#include "common/PythonManager.h"
|
#include "common/PythonManager.h"
|
||||||
|
#include "plugins/CutterPlugin.h"
|
||||||
#include "plugins/PluginManager.h"
|
#include "plugins/PluginManager.h"
|
||||||
#include "CutterConfig.h"
|
#include "CutterConfig.h"
|
||||||
#include "CutterApplication.h"
|
#include "CutterApplication.h"
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
#include <QMenu>
|
#include <QMenu>
|
||||||
#include <QKeySequence>
|
#include <QKeySequence>
|
||||||
|
|
||||||
|
class MainWindow;
|
||||||
|
|
||||||
class CUTTER_EXPORT AddressableItemContextMenu : public QMenu
|
class CUTTER_EXPORT AddressableItemContextMenu : public QMenu
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
#include <QMenu>
|
#include <QMenu>
|
||||||
#include <QKeySequence>
|
#include <QKeySequence>
|
||||||
|
|
||||||
|
class MainWindow;
|
||||||
|
|
||||||
class CUTTER_EXPORT DisassemblyContextMenu : public QMenu
|
class CUTTER_EXPORT DisassemblyContextMenu : public QMenu
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
#ifndef CUTTERPLUGIN_H
|
#ifndef CUTTERPLUGIN_H
|
||||||
#define CUTTERPLUGIN_H
|
#define CUTTERPLUGIN_H
|
||||||
|
|
||||||
class CutterPlugin;
|
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
|
|
||||||
#include "core/Cutter.h"
|
|
||||||
#include "widgets/CutterDockWidget.h"
|
#include "widgets/CutterDockWidget.h"
|
||||||
|
|
||||||
class CUTTER_EXPORT CutterPlugin
|
class CUTTER_EXPORT CutterPlugin
|
||||||
|
@ -10,11 +10,13 @@
|
|||||||
#include "PluginManager.h"
|
#include "PluginManager.h"
|
||||||
#include "CutterPlugin.h"
|
#include "CutterPlugin.h"
|
||||||
#include "CutterConfig.h"
|
#include "CutterConfig.h"
|
||||||
|
#include "common/Helpers.h"
|
||||||
|
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QCoreApplication>
|
#include <QCoreApplication>
|
||||||
#include <QPluginLoader>
|
#include <QPluginLoader>
|
||||||
#include <QStandardPaths>
|
#include <QStandardPaths>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
Q_GLOBAL_STATIC(PluginManager, uniqueInstance)
|
Q_GLOBAL_STATIC(PluginManager, uniqueInstance)
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
class CutterPlugin;
|
#include "plugins/CutterPlugin.h"
|
||||||
|
|
||||||
class PluginManager: public QObject
|
class PluginManager: public QObject
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user