diff options
Diffstat (limited to 'src/osd/modules/debugger/qt/deviceinformationwindow.h')
-rw-r--r-- | src/osd/modules/debugger/qt/deviceinformationwindow.h | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/src/osd/modules/debugger/qt/deviceinformationwindow.h b/src/osd/modules/debugger/qt/deviceinformationwindow.h index 68ab910fe48..e036a76e782 100644 --- a/src/osd/modules/debugger/qt/deviceinformationwindow.h +++ b/src/osd/modules/debugger/qt/deviceinformationwindow.h @@ -18,11 +18,13 @@ class DeviceInformationWindow : public WindowQt Q_OBJECT public: - DeviceInformationWindow(running_machine &machine, device_t *device = nullptr, QWidget* parent=nullptr); + DeviceInformationWindow(DebuggerQt &debugger, device_t *device = nullptr, QWidget* parent=nullptr); virtual ~DeviceInformationWindow(); void set_device(const char *tag); + virtual void restoreConfiguration(util::xml::data_node const &node) override; + protected: virtual void saveConfigurationToNode(util::xml::data_node &node) override; @@ -32,28 +34,6 @@ private: void fill_device_information(); }; - - - -//========================================================================= -// A way to store the configuration of a window long enough to read/write. -//========================================================================= -class DeviceInformationWindowQtConfig : public WindowQtConfig -{ -public: - std::string m_device_tag; - - DeviceInformationWindowQtConfig() : - WindowQtConfig(WINDOW_TYPE_DEVICE_INFO_VIEWER) - { - } - - ~DeviceInformationWindowQtConfig() {} - - void applyToQWidget(QWidget *widget); - void recoverFromXmlNode(util::xml::data_node const &node); -}; - } // namespace osd::debugger::qt #endif // MAME_DEBUGGER_QT_DEVICEINFORMATIONWINDOW_H |