diff options
author | Treeki <treeki@gmail.com> | 2010-10-14 20:17:20 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2010-10-14 20:17:20 +0200 |
commit | ebcc95da4c26369511caa90d89c5ed06e1e4853a (patch) | |
tree | 6ed445f0204a6e6615088d135c4b29c4309077a4 /lyt/packagebase.h | |
parent | fdf8cfec2b795393d7ee901abaf747575067068b (diff) | |
download | LayoutStudio-ebcc95da4c26369511caa90d89c5ed06e1e4853a.tar.gz LayoutStudio-ebcc95da4c26369511caa90d89c5ed06e1e4853a.zip |
brlyt packing added, plus some changes in the existing API (mostly for const correctness). brlyt writing may still need some testing (especially for the material structs)
Diffstat (limited to 'lyt/packagebase.h')
-rw-r--r-- | lyt/packagebase.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lyt/packagebase.h b/lyt/packagebase.h index 9ad45c0..6129e0b 100644 --- a/lyt/packagebase.h +++ b/lyt/packagebase.h @@ -27,15 +27,15 @@ public: LYTPackageBase(); virtual ~LYTPackageBase(); - virtual QStringList listAnims() = 0; - virtual QStringList listLayouts() = 0; - virtual QStringList listTextures() = 0; - virtual QStringList listFonts() = 0; + virtual QStringList listAnims() const = 0; + virtual QStringList listLayouts() const = 0; + virtual QStringList listTextures() const = 0; + virtual QStringList listFonts() const = 0; - virtual QByteArray getAnim(QString name) = 0; - virtual QByteArray getLayout(QString name) = 0; - virtual QByteArray getTexture(QString name) = 0; - virtual QByteArray getFont(QString name) = 0; + virtual QByteArray getAnim(QString name) const = 0; + virtual QByteArray getLayout(QString name) const = 0; + virtual QByteArray getTexture(QString name) const = 0; + virtual QByteArray getFont(QString name) const = 0; virtual bool writeAnim(QString name, QByteArray data) = 0; virtual bool writeLayout(QString name, QByteArray data) = 0; @@ -43,7 +43,7 @@ public: virtual bool writeFont(QString name, QByteArray data) = 0; virtual bool savePackage() = 0; - virtual QString description() = 0; + virtual QString description() const = 0; }; #endif // LYTPACKAGEBASE_H |