X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgrid.h;h=621a29435318317be9aa7d00ea930b9efb93d3c2;hb=b30edd979e6e9c7acfaaf3a90903814a7e62a71e;hp=0e71748b6a71bdd84da98bdd31c8bfa3957094c9;hpb=8c24649c40829dd1ce78ca4bbcae0913574ab292;p=libs%2Fgltk.git diff --git a/source/grid.h b/source/grid.h index 0e71748..621a294 100644 --- a/source/grid.h +++ b/source/grid.h @@ -1,6 +1,7 @@ #ifndef MSP_GLTK_GRID_H_ #define MSP_GLTK_GRID_H_ +#include #include "arrangement.h" namespace Msp { @@ -8,6 +9,16 @@ namespace GLtk { class Grid: public Arrangement { +public: + class Loader: public DataFile::ObjectLoader + { + public: + Loader(Grid &); + private: + void next_row(); + void skip(); + }; + private: struct Column {