quakeforge/ruamoko/qwaq/debugger/localsdata.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

27 lines
579 B
Objective-C

#ifndef __qwaq_debugger_localsview_h
#define __qwaq_debugger_localsview_h
#include <types.h>
#include "ruamoko/qwaq/ui/tableview.h"
#include "ruamoko/qwaq/debugger/debug.h"
@class DefView;
@interface LocalsData : Object <TableViewDataSource>
{
qdb_target_t target;
qfot_type_encodings_t target_encodings;
unsigned current_fnum;
qdb_function_t *func;
qdb_auxfunction_t *aux_func;
qdb_def_t *defs;
DefView **def_views;
int *def_rows;
void *data;
}
+(LocalsData *)withTarget:(qdb_target_t)target;
-setFunction:(unsigned)fnum;
-fetchData;
@end
#endif