quakeforge/ruamoko/qwaq/debugger/views/defview.h
Bill Currie 0a60f46a64 [qwaq] Implement more debugger def views
Structs and arrays now work (though could be better, eg collapsible).
2021-09-25 01:42:36 +09:00

26 lines
760 B
Objective-C

#ifndef __qwaq_debugger_defview_h
#define __qwaq_debugger_defview_h
#include <types.h>
#include "ruamoko/qwaq/ui/view.h"
#include "ruamoko/qwaq/debugger/debug.h"
@class TableViewColumn;
@interface DefView : View
{
qdb_def_t def;
qfot_type_t *type;
qdb_target_t target;
}
+(DefView *)withDef:(qdb_def_t)def in:(void *)data type:(qfot_type_t *)type;
+(DefView *)withDef:(qdb_def_t)def in:(void *)data target:(qdb_target_t)target;
+(DefView *)withDef:(qdb_def_t)def type:(qfot_type_t *)type in:(void *)data target:(qdb_target_t)target;
-initWithDef:(qdb_def_t)def type:(qfot_type_t *)type;
-setTarget:(qdb_target_t)target;
-fetchData;
-(int) rows;
-(View *) viewAtRow:(int) row forColumn:(TableViewColumn *)column;
@end
#endif//__qwaq_debugger_defview_h