X-Git-Url: http://git.hcoop.net/clinton/Virtual-Jaguar-Rx.git/blobdiff_plain/cf76e892839806b64588635cb6accb636001e62a..570dad923e20ad098263df653287a08f5473427a:/src/debugger/allwatchbrowser.h diff --git a/src/debugger/allwatchbrowser.h b/src/debugger/allwatchbrowser.h index 03b70b8..e477409 100644 --- a/src/debugger/allwatchbrowser.h +++ b/src/debugger/allwatchbrowser.h @@ -1,54 +1,44 @@ -// -// allwatch.h: All Watch -// -// by James Hammons -// (C) 2012 Underground Software -// - -#ifndef __ALLWATCHBROWSER_H__ -#define __ALLWATCHBROWSER_H__ - -#include -#include - -class AllWatchBrowserWindow: public QWidget -{ - Q_OBJECT - - // - struct WatchInfo - { - //size_t TypeEncoding; - //size_t TypeByteSize; - size_t addr; - size_t TypeTag; - char *PtrVariableName; - char *PtrVariableBaseTypeName; - }S_WatchInfo; - - public: - AllWatchBrowserWindow(QWidget *parent = 0); - ~AllWatchBrowserWindow(void); - - public slots: -// void DefineAllKeys(void); - void RefreshContents(void); -// void GoToAddress(void); - - protected: -// void keyPressEvent(QKeyEvent *); - - private: - QVBoxLayout *layout; -// QTextBrowser * text; -// QLabel *text; - QTextBrowser *text; -// QPushButton *refresh; -// QLineEdit *address; -// QPushButton *go; - WatchInfo *PtrWatchInfo; -// int32_t memBase; - size_t NbWatch; -}; - -#endif // __ALLWATCHBROWSER_H__ +// +// allwatchbrowser.h: All Watch +// +// by Jean-Paul Mari +// + +#ifndef __ALLWATCHBROWSER_H__ +#define __ALLWATCHBROWSER_H__ + +#include +#include + +class AllWatchBrowserWindow: public QWidget +{ + Q_OBJECT + + // + typedef struct WatchInfo + { + size_t addr; + size_t TypeTag; + char *PtrVariableName; + char *PtrVariableBaseTypeName; + }S_WatchInfo; + + public: + AllWatchBrowserWindow(QWidget *parent = 0); + ~AllWatchBrowserWindow(void); + void Reset(void); + + public slots: + void RefreshContents(void); + + protected: + void keyPressEvent(QKeyEvent *); + + private: + QVBoxLayout *layout; + QTextBrowser *text; + WatchInfo *PtrWatchInfo; + size_t NbWatch; +}; + +#endif // __ALLWATCHBROWSER_H__