You.i Engine
YiLicenseAcquisitionDRMConfiguration.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2020. All rights reserved.
2 #ifndef _YI_LICENSE_ACQUISITION_DRM_CONFIGURATION_H_
3 #define _YI_LICENSE_ACQUISITION_DRM_CONFIGURATION_H_
4 
6 
16 {
17 public:
24 
30  CYILicenseAcquisitionDRMConfiguration(const CYIUrl &licenseAcquisitionUrl);
32 
36  void SetLicenseAcquisitionUrl(const CYIUrl &licenseAcquisitionUrl);
37 
41  const CYIUrl &GetLicenseAcquisitionUrl() const;
42 
50  void SetLicenseAcquisitionHeader(const CYIString &headerField, const CYIString headerValue);
51 
55  void ClearLicenseAcquisitionHeader(const CYIString &headerField);
56 
61 
65  const std::map<CYIString, CYIString> &GetLicenseAcquisitionHeaders() const;
66 
67 protected:
69  std::map<CYIString, CYIString> m_licenseAcquisitionHeaders;
70 };
71 
76 #endif // _YI_LICENSE_ACQUISITION_DRM_CONFIGURATION_H_
This base class contains the information required to contact the license aquisition server and obtain...
Definition: YiLicenseAcquisitionDRMConfiguration.h:15
std::map< CYIString, CYIString > m_licenseAcquisitionHeaders
Definition: YiLicenseAcquisitionDRMConfiguration.h:69
const CYIUrl & GetLicenseAcquisitionUrl() const
void ClearLicenseAcquisitionHeader(const CYIString &headerField)
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:36
CYIUrl m_licenseAcquisitionUrl
Definition: YiLicenseAcquisitionDRMConfiguration.h:68
void SetLicenseAcquisitionHeader(const CYIString &headerField, const CYIString headerValue)
const std::map< CYIString, CYIString > & GetLicenseAcquisitionHeaders() const
The base class for all DRM configurations.
Definition: YiAbstractVideoPlayer.h:132
void SetLicenseAcquisitionUrl(const CYIUrl &licenseAcquisitionUrl)
A class used to encapsulate an URL.
Definition: YiUrl.h:24