mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 08:27:39 +00:00
6d3fadfe6e
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.
32 lines
569 B
Objective-C
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
|