output-item: Make command name part of every output_item.
[pspp] / src / output / group-item.h
index 3633b14bf584ac2dcc00e5003387079b946a58b3..b8ac464c3d7e96c1e2ad3dfcf489b8f877f42cec 100644 (file)
 struct group_open_item
   {
     struct output_item output_item;
-    char *command_name;
   };
 
-struct group_open_item *group_open_item_create (const char *command_name);
-struct group_open_item *group_open_item_create_nocopy (char *command_name);
+struct group_open_item *group_open_item_create (const char *command_name,
+                                                const char *label);
+struct group_open_item *group_open_item_create_nocopy (char *command_name,
+                                                       char *label);
 
 /* A group_close item. */
 struct group_close_item