Update the breakpoint feature
[clinton/Virtual-Jaguar-Rx.git] / src / debugger / callstackbrowser.h
index 8ae56f1..126ebe4 100644 (file)
@@ -7,9 +7,19 @@
 #ifndef __CALLSTACKBROWSER_H__
 #define __CALLSTACKBROWSER_H__
 
-#include <QtWidgets>
+//#define CS_LAYOUTTEXTS                                               // Use a layout with just texts
+
+#include <QtWidgets/QtWidgets>
 #include <stdint.h>
 
+// Error code definitions
+#define        CS_NOERROR              0x00
+#define        CS_ERROR                0x80
+#define        CS_WARNING              0x40
+#define        CS_NOCALLSTACK  (0x01 | CS_WARNING)
+
+
+// 
 class CallStackBrowserWindow : public QWidget
 {
        Q_OBJECT
@@ -26,7 +36,13 @@ class CallStackBrowserWindow : public QWidget
 
        private:
                QVBoxLayout *layout;
+               QStatusBar *statusbar;
+#ifdef CS_LAYOUTTEXTS
                QTextBrowser * text;
+#else
+               QTableView *TableView;
+               QStandardItemModel *model;
+#endif
 };
 
 #endif // __CALLSTACKBROWSER_H__