summaryrefslogblamecommitdiffstats
path: root/src/citra_qt/debugger/registers.h
blob: 0356de290a903fe399bac00b82c3b3b5b29ddab7 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                            
                         



                          
                  
                
 
                                          



            
                                            

             

                              
 


                                                   
        
                                 
 
                      
 

                               
  
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#include "ui_registers.h"

#include <QDockWidget>
#include <QTreeWidgetItem>

class QTreeWidget;
class EmuThread;

class RegistersWidget : public QDockWidget
{
    Q_OBJECT

public:
    RegistersWidget(QWidget* parent = NULL);

public slots:
    void OnDebugModeEntered();
    void OnDebugModeLeft();

    void OnEmulationStarted(EmuThread* emu_thread);
    void OnEmulationStopped();

private:
    Ui::ARMRegisters cpu_regs_ui;

    QTreeWidget* tree;

    QTreeWidgetItem* registers;
    QTreeWidgetItem* CSPR;
};