Added s/getLoopingMode() to ImageStream and MPEG plugin

This commit is contained in:
Robert Osfield
2004-08-24 12:55:15 +00:00
parent 5095ee5909
commit b2d39d7f5b
4 changed files with 50 additions and 3 deletions

View File

@@ -55,6 +55,17 @@ class SG_EXPORT ImageStream : public Image
StreamStatus getStatus() { return _status; }
enum LoopingMode
{
NO_LOOPING,
LOOPING
};
void setLoopingMode(LoopingMode mode) { _loopingMode = mode; }
LoopingMode getLoopingMode() const { return _loopingMode; }
virtual void setReferenceTime(double) {}
virtual double getReferenceTime() const { return 0.0; }
@@ -68,6 +79,7 @@ class SG_EXPORT ImageStream : public Image
virtual ~ImageStream() {}
StreamStatus _status;
LoopingMode _loopingMode;
};
} // namespace