]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/column.h
Support specifying layouts in datafiles
[libs/gltk.git] / source / column.h
index c7efd3b503e63769477a92c85eadc3384fa31650..b6092bb5dded802e92fb579ad8569218dd00399e 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_GLTK_COLUMN_H_
 #define MSP_GLTK_COLUMN_H_
 
+#include <msp/datafile/objectloader.h>
 #include "arrangement.h"
 
 namespace Msp {
@@ -8,6 +9,15 @@ namespace GLtk {
 
 class Column: public Arrangement
 {
+public:
+       class Loader: public DataFile::ObjectLoader<Column>
+       {
+       public:
+               Loader(Column &);
+       private:
+               void split();
+       };
+
 private:
        Edge next_bottom;
        bool first;