X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fcatalogue.h;h=46cdb5fb21c150d2d10c974b4969569b65d176af;hb=508ee4bfcc0f8fb1373fb7af251c59c873ef896f;hp=49a4a4d0aabdf49765fa07e733ca9b78f1a76a87;hpb=b860a56bd9bc8894311c02d7673f379beff3220b;p=r2c2.git diff --git a/source/libr2c2/catalogue.h b/source/libr2c2/catalogue.h index 49a4a4d..46cdb5f 100644 --- a/source/libr2c2/catalogue.h +++ b/source/libr2c2/catalogue.h @@ -1,11 +1,10 @@ #ifndef LIBR2C2_CATALOGUE_H_ #define LIBR2C2_CATALOGUE_H_ -#include #include -#include "articlenumber.h" +#include +#include #include "layout.h" -#include "trackappearance.h" namespace R2C2 { @@ -26,13 +25,19 @@ public: void scale(float, float); }; + sigc::signal signal_source_added; + private: float scale; Layout layout; + std::list sources; public: Catalogue(); + void add_source(const Msp::FS::Path &); + const std::list &get_sources() const { return sources; } + float get_scale() const { return scale; } Layout &get_layout() { return layout; } };