Changes in uspace/app/edit/sheet.h [3e6a98c5:b72efe8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/edit/sheet.h
r3e6a98c5 rb72efe8 39 39 #include <adt/list.h> 40 40 #include <sys/types.h> 41 #include < stdbool.h>41 #include <bool.h> 42 42 43 43 /** Direction (in linear space) */ … … 50 50 51 51 /** Sheet */ 52 struct sheet; 53 typedef struct sheet sheet_t; 52 typedef struct { 53 /* Note: This structure is opaque for the user. */ 54 55 size_t text_size; 56 size_t dbuf_size; 57 char *data; 58 59 list_t tags; 60 } sheet_t; 54 61 55 62 /** Character cell coordinates … … 90 97 } tag_t; 91 98 92 extern int sheet_ create(sheet_t **);99 extern int sheet_init(sheet_t *); 93 100 extern int sheet_insert(sheet_t *, spt_t *, enum dir_spec, char *); 94 101 extern int sheet_delete(sheet_t *, spt_t *, spt_t *); … … 101 108 extern void spt_get_coord(spt_t const *, coord_t *); 102 109 extern bool spt_equal(spt_t const *, spt_t const *); 103 extern wchar_t spt_next_char(spt_t, spt_t *);104 extern wchar_t spt_prev_char(spt_t, spt_t *);105 110 106 111 extern void sheet_place_tag(sheet_t *, spt_t const *, tag_t *);
Note:
See TracChangeset
for help on using the changeset viewer.