2020-03-30 04:42:31 +00:00
|
|
|
#ifndef __qwaq_debugger_localsview_h
|
|
|
|
#define __qwaq_debugger_localsview_h
|
|
|
|
|
|
|
|
#include <types.h>
|
2020-06-21 14:15:17 +00:00
|
|
|
#include "ruamoko/qwaq/ui/tableview.h"
|
|
|
|
#include "ruamoko/qwaq/debugger/debug.h"
|
2020-03-30 04:42:31 +00:00
|
|
|
|
2021-06-01 14:52:04 +00:00
|
|
|
@class DefView;
|
2021-09-24 17:14:26 +00:00
|
|
|
@class ListenerGroup;
|
2021-06-01 14:52:04 +00:00
|
|
|
|
2020-03-31 11:48:38 +00:00
|
|
|
@interface LocalsData : Object <TableViewDataSource>
|
2020-03-30 04:42:31 +00:00
|
|
|
{
|
2021-09-24 17:14:26 +00:00
|
|
|
ListenerGroup *onRowCountChanged;
|
2020-03-30 04:42:31 +00:00
|
|
|
qdb_target_t target;
|
2022-02-12 01:19:45 +00:00
|
|
|
int has_stack;
|
2020-03-30 04:42:31 +00:00
|
|
|
qfot_type_encodings_t target_encodings;
|
|
|
|
unsigned current_fnum;
|
|
|
|
qdb_function_t *func;
|
|
|
|
qdb_auxfunction_t *aux_func;
|
|
|
|
qdb_def_t *defs;
|
2022-02-12 00:28:22 +00:00
|
|
|
int num_user_defs;
|
2021-06-01 14:52:04 +00:00
|
|
|
DefView **def_views;
|
|
|
|
int *def_rows;
|
2020-03-30 04:42:31 +00:00
|
|
|
void *data;
|
|
|
|
}
|
2020-03-31 11:48:38 +00:00
|
|
|
+(LocalsData *)withTarget:(qdb_target_t)target;
|
2020-03-30 07:30:58 +00:00
|
|
|
-setFunction:(unsigned)fnum;
|
2020-03-31 14:23:18 +00:00
|
|
|
-fetchData;
|
2020-03-30 04:42:31 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
#endif
|