diff options
Diffstat (limited to 'src/osd/modules/debugger/osx/debugwindowhandler.h')
-rw-r--r-- | src/osd/modules/debugger/osx/debugwindowhandler.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/osd/modules/debugger/osx/debugwindowhandler.h b/src/osd/modules/debugger/osx/debugwindowhandler.h index e36721b2738..4feeff267c9 100644 --- a/src/osd/modules/debugger/osx/debugwindowhandler.h +++ b/src/osd/modules/debugger/osx/debugwindowhandler.h @@ -20,6 +20,20 @@ extern NSString *const MAMEHideDebuggerNotification; extern NSString *const MAMEShowDebuggerNotification; extern NSString *const MAMEAuxiliaryDebugWindowWillCloseNotification; +extern NSString *const MAMESaveDebuggerConfigurationNotification; + + +// for compatibility with the Qt debugger +enum +{ + MAME_DEBUGGER_WINDOW_TYPE_CONSOLE = 1, + MAME_DEBUGGER_WINDOW_TYPE_MEMORY_VIEWER, + MAME_DEBUGGER_WINDOW_TYPE_DISASSEMBLY_VIEWER, + MAME_DEBUGGER_WINDOW_TYPE_ERROR_LOG_VIEWER, + MAME_DEBUGGER_WINDOW_TYPE_POINTS_VIEWER, + MAME_DEBUGGER_WINDOW_TYPE_DEVICES_VIEWER, + MAME_DEBUGGER_WINDOW_TYPE_DEVICE_INFO_VIEWER +}; @interface MAMEDebugWindowHandler : NSObject <NSWindowDelegate> @@ -55,6 +69,10 @@ extern NSString *const MAMEAuxiliaryDebugWindowWillCloseNotification; - (void)showDebugger:(NSNotification *)notification; - (void)hideDebugger:(NSNotification *)notification; +- (void)saveConfig:(NSNotification *)notification; + +- (void)saveConfigurationToNode:(util::xml::data_node *)node; +- (void)restoreConfigurationFromNode:(util::xml::data_node const *)node; @end @@ -99,4 +117,7 @@ extern NSString *const MAMEAuxiliaryDebugWindowWillCloseNotification; - (BOOL)control:(NSControl *)control textShouldBeginEditing:(NSText *)fieldEditor; - (BOOL)control:(NSControl *)control textView:(NSTextView *)textView doCommandBySelector:(SEL)command; +- (void)saveConfigurationToNode:(util::xml::data_node *)node; +- (void)restoreConfigurationFromNode:(util::xml::data_node const *)node; + @end |