Handle number of M68K cycles used when tracing in debugger mode
[clinton/Virtual-Jaguar-Rx.git] / src / gui / emustatus.h
index 7e0cf73..22da650 100644 (file)
@@ -2,13 +2,12 @@
 // emustatus.h: Jaguar emulator status
 //
 // by Jean-Paul Mari
-// (C) 2012 Underground Software
 //
 
 #ifndef __EMUSTATUS_H__
 #define __EMUSTATUS_H__
 
-#include <QtWidgets>
+#include <QtWidgets/QtWidgets>
 #include <stdint.h>
 
 class EmuStatusWindow : public QWidget
@@ -17,26 +16,24 @@ class EmuStatusWindow : public QWidget
 
        public:
                EmuStatusWindow(QWidget * parent = 0);
-
-
-       public slots:
-//             void DefineAllKeys(void);
+               void UpdateM68KCycles(size_t cycles);
                void RefreshContents(void);
-               //void GoToAddress(void);
+               void ResetM68KCycles(void);
+
+       private slots:
+               void ResetCycles(void);
 
        protected:
-               //void keyPressEvent(QKeyEvent *);
+               void keyPressEvent(QKeyEvent *);
 
        private:
                QVBoxLayout * layout;
-//             QTextBrowser * text;
+               QPushButton * resetcycles;
                QLabel * text;
-               //QPushButton * refresh;
-               //QLineEdit * address;
-               //QPushButton * go;
-
-               bool    GPURunning;
-               bool    M68000DebugHaltStatus;
+               bool GPURunning;
+               bool M68000DebugHaltStatus;
+               size_t M68K_opcodecycles;
+               size_t M68K_totalcycles;
 };
 
 #endif // __EMUSTATUS_H__