X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fsom.h;h=1568dca30613af29ec5a198a5a3abcc55e90e835;hb=bcf41af107e8dffb506a506f576c6535d1b3bde7;hp=f3e5c8a7aa994bbd1437960e030d46fc9c689c51;hpb=2c4c4a789e9c23478bce195d2ed98bab6064dfc1;p=pspp diff --git a/src/som.h b/src/som.h index f3e5c8a7aa..1568dca306 100644 --- a/src/som.h +++ b/src/som.h @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ #if !som_h #define som_h 1 @@ -36,6 +36,8 @@ desired, and in fact almost every operation performed by som may be overridden in a table class. */ +#include + enum som_type { SOM_TABLE, @@ -91,10 +93,13 @@ struct som_table_class void (*join) (int *(column[2]), int *(row[2])); /* ? */ void (*cumulate) (int cumtype, int start, int *end, int max, int *actual); void (*flags) (unsigned *); + bool (*fits_width) (int width); + bool (*fits_length) (int length); /* Set columns and rows. */ void (*set_width) (int column, int width); /* ? */ void (*set_height) (int row, int height); /* ? */ + void (*set_headers) (int l, int r, int t, int b); /* Rendering. */ void (*title) (int x, int y);