aboutsummaryrefslogtreecommitdiffstats
path: root/Common/Config.h
diff options
context:
space:
mode:
authorJacques Samain <jsamain+fdio@cisco.com>2018-01-03 14:21:23 +0100
committerJacques Samain <jsamain+fdio@cisco.com>2018-01-03 14:21:23 +0100
commitaff4155325a95f0e1dce85426c18592b22062cfa (patch)
treeaa8ad157fb1acecede747c1489864a430bc25317 /Common/Config.h
parent3abd95a2501be987eca0fa5c59f01e84a98cf202 (diff)
Refactoring adaptation logic
Refactoring GUI: removed prefix/suffix to have only one video URI Change-Id: Ie0add7c1d8ace89410917ab7cc414c668c528394 Signed-off-by: Jacques Samain <jsamain+fdio@cisco.com>
Diffstat (limited to 'Common/Config.h')
-rw-r--r--Common/Config.h24
1 files changed, 4 insertions, 20 deletions
diff --git a/Common/Config.h b/Common/Config.h
index 018b757f..059c6771 100644
--- a/Common/Config.h
+++ b/Common/Config.h
@@ -69,13 +69,9 @@ class COMMON_EXPORT Config : public QObject
Q_PROPERTY(QString fragHeader READ fragHeader WRITE setFragHeader NOTIFY fragHeaderChanged)
Q_PROPERTY(QString fragSample READ fragSample WRITE setFragSample NOTIFY fragSampleChanged)
Q_PROPERTY(QString fragPostProcess READ fragPostProcess WRITE setFragPostProcess NOTIFY fragPostProcessChanged)
- Q_PROPERTY(QString icnPrefix READ icnPrefix WRITE setIcnPrefix NOTIFY icnPrefixChanged)
- Q_PROPERTY(QString httpPrefix READ httpPrefix WRITE setHttpPrefix NOTIFY httpPrefixChanged)
- Q_PROPERTY(QString icnSuffix READ icnSuffix WRITE setIcnSuffix NOTIFY icnSuffixChanged)
- Q_PROPERTY(QString httpSuffix READ httpSuffix WRITE setHttpSuffix NOTIFY httpSuffixChanged)
+ Q_PROPERTY(QString videoURI READ videoURI WRITE setVideoURI NOTIFY videoURIChanged)
Q_PROPERTY(qreal segmentBufferSize READ segmentBufferSize WRITE setSegmentBufferSize NOTIFY segmentBufferSizeChanged)
- Q_PROPERTY(QString lastPlayed READ lastPlayed WRITE setLastPlayed NOTIFY lastPlayedChanged)
Q_PROPERTY(QString adaptationLogic READ adaptationLogic WRITE setAdaptationLogic NOTIFY adaptationLogicChanged)
Q_PROPERTY(bool icn READ icn WRITE setIcn NOTIFY icnChanged)
Q_PROPERTY(qreal rateAlpha READ rateAlpha WRITE setRateAlpha NOTIFY rateAlphaChanged)
@@ -268,18 +264,10 @@ public:
QString fragSample() const;
Config& setFragPostProcess(const QString& text);
QString fragPostProcess() const;
- Config& setIcnPrefix(const QString &value);
- QString icnPrefix() const;
- Config& setIcnSuffix(const QString &value);
- QString icnSuffix() const;
- Config& setHttpPrefix(const QString &value);
- QString httpPrefix() const;
- Config& setHttpSuffix(const QString &value);
- QString httpSuffix() const;
+ Config& setVideoURI(const QString &value);
+ QString videoURI() const;
Config& setSegmentBufferSize(qreal value);
qreal segmentBufferSize() const;
- Config& setLastPlayed(const QString &value);
- QString lastPlayed() const;
Config& setAdaptationLogic(const QString &value);
QString adaptationLogic() const;
Config& setIcn(bool value);
@@ -403,12 +391,8 @@ public:
Q_SIGNAL void logLevelChanged();
Q_SIGNAL void languageChanged();
Q_SIGNAL void historyChanged();
- Q_SIGNAL void icnSuffixChanged();
- Q_SIGNAL void httpSuffixChanged();
- Q_SIGNAL void icnPrefixChanged();
- Q_SIGNAL void httpPrefixChanged();
+ Q_SIGNAL void videoURIChanged();
Q_SIGNAL void segmentBufferSizeChanged();
- Q_SIGNAL void lastPlayedChanged();
Q_SIGNAL void adaptationLogicChanged();
Q_SIGNAL void icnChanged();
Q_SIGNAL void rateAlphaChanged();