summaryrefslogtreecommitdiffstats
path: root/src/translators/pilotdb/libflatfile/ListViewColumn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/translators/pilotdb/libflatfile/ListViewColumn.h')
-rw-r--r--src/translators/pilotdb/libflatfile/ListViewColumn.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/translators/pilotdb/libflatfile/ListViewColumn.h b/src/translators/pilotdb/libflatfile/ListViewColumn.h
new file mode 100644
index 0000000..7b5330e
--- /dev/null
+++ b/src/translators/pilotdb/libflatfile/ListViewColumn.h
@@ -0,0 +1,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