home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / word2x0a.zip / source / html-table.h < prev    next >
C/C++ Source or Header  |  1998-04-20  |  520b  |  28 lines

  1. /* $Id: html-table.h,v 1.1 1997/04/29 06:46:08 dps Exp $ */
  2.  
  3. #ifndef __html_table__
  4. #define __html_table__
  5. #include <stdio.h>
  6. #define __EXCLUDE_READER_CLASSES
  7. #include "lib.h"
  8.  
  9. class html_table
  10. {
  11. private:
  12.     struct col_info
  13.     {
  14.     const char **data;
  15.     struct col_info *next;
  16.     };
  17.     int cols;
  18.     int rows;
  19.     struct col_info *cdata;
  20.  
  21. public:
  22.     const char *print_table(int, FILE *, const int =1);
  23.     int set(int, int, const char *);
  24.     html_table(int, int);
  25.     ~html_table(void);
  26. };
  27. #endif /* __html_table__ */
  28.