/[pspp]/pspp/src/som.h
ViewVC logotype

Diff of /pspp/src/som.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by john, Wed Dec 10 23:34:48 2003 UTC revision 1.2 by jmd, Fri Jan 14 04:05:47 2005 UTC
# Line 36  Line 36 
36     desired, and in fact almost every operation performed by som may be     desired, and in fact almost every operation performed by som may be
37     overridden in a table class.  */     overridden in a table class.  */
38    
39  /* Table. */  enum som_type
40  struct som_table    {
41        SOM_TABLE,
42        SOM_CHART
43      } ;
44    
45    /* Entity (Table or Chart) . */
46    struct som_entity
47    {    {
48      struct som_table_class *class;      /* Table class. */      struct som_table_class *class;      /* Table class. */
49      void *ext;                          /* Owned by table class. */      enum som_type type;                 /* Table or Chart */
50        void *ext;                          /* Owned by */
51    };    };
52    
53  /* Group styles. */  /* Group styles. */
# Line 70  struct outp_driver; Line 77  struct outp_driver;
77  struct som_table_class  struct som_table_class
78    {    {
79      /* Set table, driver. */      /* Set table, driver. */
80      void (*table) (struct som_table *);      void (*table) (struct som_entity *);
81      void (*driver) (struct outp_driver *);      void (*driver) (struct outp_driver *);
82    
83      /* Query columns and rows. */      /* Query columns and rows. */
# Line 100  extern int subtable_num; Line 107  extern int subtable_num;
107    
108  /* Submission. */  /* Submission. */
109  void som_new_series (void);  void som_new_series (void);
110  void som_submit (struct som_table *t);  void som_submit (struct som_entity *t);
111    
112  /* Miscellaneous. */  /* Miscellaneous. */
113  void som_eject_page (void);  void som_eject_page (void);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26