From ebcc95da4c26369511caa90d89c5ed06e1e4853a Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 14 Oct 2010 20:17:20 +0200 Subject: 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) --- lyt/pane.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lyt/pane.h') diff --git a/lyt/pane.h b/lyt/pane.h index a2c751b..8b80029 100644 --- a/lyt/pane.h +++ b/lyt/pane.h @@ -33,12 +33,16 @@ public: virtual ~LYTPane(); - virtual void writeToDataStream(QDataStream &out); + virtual Magic magic() const; + + virtual void writeToDataStream(QDataStream &out) const; virtual void readFromDataStream(QDataStream &in); - virtual void dumpToDebug(bool showHeading=true); + virtual void dumpToDebug(bool showHeading=true) const; + + virtual void addFontRefsToList(QStringList &list) const; - LYTPane *findPaneByName(QString name, bool recursive); + LYTPane *findPaneByName(QString name, bool recursive) const; LYTLayout &layout() const; -- cgit v1.2.3