quakeforge/ruamoko/qwaq/debugger/views/defview.h
Bill Currie 53b553e892 [qwaq] Rework def views to support multi-row defs
Needed for structured types (arrays, structs, etc). The multiple rows
aren't implemented yet, but the initial groundwork is done.
2021-06-01 23:52:04 +09:00

22 lines
563 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"
@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;
-initWithDef:(qdb_def_t)def;
-(int) rows;
-(View *) nameViewAtRow:(int) row;
-(View *) dataViewAtRow:(int) row;
@end
#endif//__qwaq_debugger_defview_h