summaryrefslogtreecommitdiff
path: root/stvw_cfg.h
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2016-01-31 19:47:35 +0100
committerthlo <smarttv640@gmail.com>2016-01-31 19:47:35 +0100
commit4b3f684999d715d636a3d3a385fc06487c93149e (patch)
tree96cd25996b42dbc05e2cb05c38de7cb0cdc55f0b /stvw_cfg.h
parentd05f6c86e38b97fbf685361809fa6d733cfdf699 (diff)
downloadvdr-plugin-smarttvweb-4b3f684999d715d636a3d3a385fc06487c93149e.tar.gz
vdr-plugin-smarttvweb-4b3f684999d715d636a3d3a385fc06487c93149e.tar.bz2
Add (optional) support for CORS HTTP response header.
Diffstat (limited to 'stvw_cfg.h')
-rwxr-xr-xstvw_cfg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/stvw_cfg.h b/stvw_cfg.h
index a2c0233..81d5a38 100755
--- a/stvw_cfg.h
+++ b/stvw_cfg.h
@@ -63,6 +63,9 @@ class cSmartTvConfig {
int mBuiltInLivePktBuf4Sd;
double mBuiltInLiveBufDur;
+ bool mAddCorsHeader;
+ string mCorsHeaderPyld;
+
public:
cSmartTvConfig(string dir);
~cSmartTvConfig();
@@ -87,6 +90,8 @@ class cSmartTvConfig {
int getBuiltInLivePktBuf4Sd() { return mBuiltInLivePktBuf4Sd; };
double getBuiltInLiveBufDur() { return mBuiltInLiveBufDur; };
+ bool addCorsHeader() { return mAddCorsHeader; };
+ string getCorsHeader() {return mCorsHeaderPyld; };
};
#endif