X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fzone.h;h=cee45e8d311a29bd15b39ead3e2807aff5856189;hb=8c7fc0b79ce88e0295e0e6ea52cb7eb753158d8a;hp=86a36e8a45951bafd307ad4f031eb856512efccc;hpb=c8c39c4256af8676d46063db88048d809cc2ee5f;p=r2c2.git diff --git a/source/libr2c2/zone.h b/source/libr2c2/zone.h index 86a36e8..cee45e8 100644 --- a/source/libr2c2/zone.h +++ b/source/libr2c2/zone.h @@ -21,12 +21,14 @@ public: private: virtual void finish(); void block(unsigned); + void direction_hint(unsigned, Direction); }; private: std::string group; std::string qualifier; unsigned number; + int up_end; public: Zone(Layout &); @@ -41,7 +43,16 @@ public: const std::string &get_qualifier() const { return qualifier; } unsigned get_number() const { return number; } + void set_direction_towards(Track &, Direction); + void clear_direction(); + virtual TrackIter iter_for(Track &, Direction) const; +private: + TrackIter next_iter(const TrackIter &) const; +public: + virtual TrackIter get_end(Direction) const; + void save(std::list &) const; + virtual Msp::DataFile::Statement save_reference() const; }; } // namespace R2C2