quakeforge/ruamoko/qwaq/debugger/debugger.h
Bill Currie 6d3fadfe6e [qwaq] Move local defs viewer to its own class
While trying to build a view without deriving from it was a neat idea,
it doesn't work so well because a view really needs to know how to draw
itself. This even fixes the segfault when stepping past the end of the
program.
2020-03-30 13:42:31 +09:00

32 lines
569 B
Objective-C

#ifndef __qwaq_debugger_debugger_h
#define __qwaq_debugger_debugger_h
#include <types.h>
#include <Object.h>
#include "debugger/debug.h"
#include "debugger/localsview.h"
@class ProxyView;
@class Editor;
@class Window;
@class Array;
@interface Debugger : Object
{
qdb_target_t target;
Window *source_window;
ProxyView *file_proxy;
Array *files;
Editor *current_file;
Window *locals_window;
LocalsView *locals_view;
}
-(qdb_target_t)target;
-initWithTarget:(qdb_target_t) target;
-handleDebugEvent;
@end
#endif//__qwaq_debugger_debugger_h