summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsComponent.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/rs/rsComponent.h')
-rw-r--r--libs/rs/rsComponent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/rs/rsComponent.h b/libs/rs/rsComponent.h
index 71de324..0f93a91 100644
--- a/libs/rs/rsComponent.h
+++ b/libs/rs/rsComponent.h
@@ -48,6 +48,10 @@ public:
bool getIsSigned() const {return mIsSigned;}
uint32_t getBits() const {return mBits;}
+ // Helpers for reading / writing this class out
+ void serialize(OStream *stream) const;
+ void loadFromStream(IStream *stream);
+
protected:
RsDataType mType;
RsDataKind mKind;