summaryrefslogtreecommitdiff
path: root/support/word2x/text-table.h
blob: 8536bb16e5ae6fa3f91b64008bafefb87a25ef74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* $Id: text-table.h,v 1.2 1997/03/22 17:07:58 dps Exp $ */

#ifndef __txt_table__
#define __txt_table__
#include <stdio.h>

class text_table
{
private:
    struct col_info
    {
	const char **data;
	struct col_info *next;
    };
    int cols;
    int rows;
    struct col_info *cdata;

public:
    const char *print_table(int, FILE *);
    int set(int, int, const char *);
    text_table(int, int);
    ~text_table(void);
};
#endif /* __txt_table__ */