aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/citra_qt/debugger/graphics_breakpoints.hxx
diff options
context:
space:
mode:
authorGravatar Tony Wasserka <NeoBrainX@gmail.com>2014-12-04 19:41:03 +0100
committerGravatar Tony Wasserka <NeoBrainX@gmail.com>2014-12-09 16:37:34 +0100
commit0cd27a511ecd170484b672263c09192b579e31ac (patch)
treedfa2dece82fcbcfe45708582a493ee0ff317ce82 /src/citra_qt/debugger/graphics_breakpoints.hxx
parent55ce9aca7149159d6ec444047355e47d70c13c3f (diff)
Some code cleanup.
Diffstat (limited to 'src/citra_qt/debugger/graphics_breakpoints.hxx')
-rw-r--r--src/citra_qt/debugger/graphics_breakpoints.hxx27
1 files changed, 1 insertions, 26 deletions
diff --git a/src/citra_qt/debugger/graphics_breakpoints.hxx b/src/citra_qt/debugger/graphics_breakpoints.hxx
index edc41283..2142c6fa 100644
--- a/src/citra_qt/debugger/graphics_breakpoints.hxx
+++ b/src/citra_qt/debugger/graphics_breakpoints.hxx
@@ -15,32 +15,7 @@ class QLabel;
class QPushButton;
class QTreeView;
-class BreakPointModel : public QAbstractListModel {
- Q_OBJECT
-
-public:
- enum {
- Role_IsEnabled = Qt::UserRole,
- };
-
- BreakPointModel(std::shared_ptr<Pica::DebugContext> context, QObject* parent);
-
- int columnCount(const QModelIndex& parent = QModelIndex()) const override;
- int rowCount(const QModelIndex& parent = QModelIndex()) const override;
- QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override;
- QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
-
- bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole);
-
-public slots:
- void OnBreakPointHit(Pica::DebugContext::Event event);
- void OnResumed();
-
-private:
- bool at_breakpoint;
- Pica::DebugContext::Event active_breakpoint;
- std::weak_ptr<Pica::DebugContext> context_weak;
-};
+class BreakPointModel;
class GraphicsBreakPointsWidget : public QDockWidget, Pica::DebugContext::BreakPointObserver {
Q_OBJECT