aboutsummaryrefslogtreecommitdiffstats
path: root/src/libdash/source/mpd/SegmentList.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdash/source/mpd/SegmentList.h')
-rw-r--r--src/libdash/source/mpd/SegmentList.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/libdash/source/mpd/SegmentList.h b/src/libdash/source/mpd/SegmentList.h
new file mode 100644
index 00000000..b743c009
--- /dev/null
+++ b/src/libdash/source/mpd/SegmentList.h
@@ -0,0 +1,47 @@
+/*
+ * SegmentList.h
+ *****************************************************************************
+ * Copyright (C) 2012, bitmovin Softwareentwicklung OG, All Rights Reserved
+ *
+ * Email: libdash-dev@vicky.bitmovin.net
+ *
+ * This source code and its use and distribution, is subject to the terms
+ * and conditions of the applicable license agreement.
+ *****************************************************************************/
+
+#ifndef SEGMENTLIST_H_
+#define SEGMENTLIST_H_
+
+#include "config.h"
+
+#include "ISegmentList.h"
+#include "MultipleSegmentBase.h"
+#include "SegmentURL.h"
+
+namespace dash
+{
+ namespace mpd
+ {
+ class SegmentList : public ISegmentList, public MultipleSegmentBase
+ {
+ public:
+ SegmentList ();
+ virtual ~SegmentList ();
+
+ const std::vector<ISegmentURL *>& GetSegmentURLs () const;
+ const std::string& GetXlinkHref () const;
+ const std::string& GetXlinkActuate () const;
+
+ void AddSegmentURL (SegmentURL *segmetURL);
+ void SetXlinkHref (const std::string& xlinkHref);
+ void SetXlinkActuate (const std::string& xlinkActuate);
+
+ private:
+ std::vector<SegmentURL *> segmentURLs;
+ std::string xlinkHref;
+ std::string xlinkActuate;
+ };
+ }
+}
+
+#endif /* SEGMENTLIST_H_ */