summaryrefslogtreecommitdiffstats
path: root/src/translators/pilotdb/libflatfile/ListViewColumn.h
blob: 7b5330ef7c1dd9cefd5158bcdda2d2bde527d07d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __PALMLIB_FLATFILE_LISTVIEWCOLUMN_H__
#define __PALMLIB_FLATFILE_LISTVIEWCOLUMN_H__

namespace PalmLib {
  namespace FlatFile {

    // The ListViewColumn class stores the field number and column
    // width for a column in a list view.

    struct ListViewColumn {
      ListViewColumn() : field(0), width(80) { }
      ListViewColumn(unsigned a1, unsigned a2) : field(a1), width(a2) { }
      unsigned field;
      unsigned width;
    };
  }
}

#endif