X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fmanager.h;h=8ed104bad417aa67e481c84e65d006b0ad230828;hb=dbd443bb33b42b00e1bb9e67e140af659a418673;hp=1aa2c36aae86e60a04360a23affe559a9b65f180;hpb=832e0124a3b99996d284afbd1ffe72476a15cde6;p=pspp diff --git a/src/output/manager.h b/src/output/manager.h index 1aa2c36aae..8ed104bad4 100644 --- a/src/output/manager.h +++ b/src/output/manager.h @@ -49,8 +49,12 @@ struct som_entity void *ext; /* Owned by table or chart class. */ int table_num; /* Table number. */ int subtable_num; /* Sub-table number. */ + char *command_name; /* Command that yielded this output. */ }; +struct som_entity *som_entity_clone (struct som_entity *); +void som_entity_destroy (struct som_entity *); + /* Group styles. */ enum { @@ -92,12 +96,14 @@ struct som_table_class void (*area) (void *, int *horiz, int *vert); void (*cumulate) (void *, int cumtype, int start, int *end, int max, int *actual); - void (*title) (void *, int x, int y, int table_num, int subtable_num); + void (*title) (void *, int x, int y, int table_num, int subtable_num, + const char *command_name); void (*render) (void *, int x1, int y1, int x2, int y2); }; /* Submission. */ void som_new_series (void); +void som_set_command_name (const char *); void som_submit (struct som_entity *t); /* Miscellaneous. */