diff options
Diffstat (limited to 'parameter/XmlParameterSerializingContext.h')
| -rw-r--r-- | parameter/XmlParameterSerializingContext.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/parameter/XmlParameterSerializingContext.h b/parameter/XmlParameterSerializingContext.h index 61306ce..05d5a9b 100644 --- a/parameter/XmlParameterSerializingContext.h +++ b/parameter/XmlParameterSerializingContext.h @@ -30,6 +30,7 @@ #pragma once #include "XmlElementSerializingContext.h" +#include "ParameterAccessContext.h" #include <string> @@ -38,11 +39,16 @@ class CComponentLibrary; class CXmlParameterSerializingContext : public CXmlElementSerializingContext { public: - CXmlParameterSerializingContext(std::string& strError); + CXmlParameterSerializingContext(CParameterAccessContext &context, std::string &strError); // ComponentLibrary - void setComponentLibrary(const CComponentLibrary* pComponentLibrary); - const CComponentLibrary* getComponentLibrary() const; + void setComponentLibrary(const CComponentLibrary *pComponentLibrary); + const CComponentLibrary *getComponentLibrary() const; + + CParameterAccessContext &getAccessContext() const { return mAccessContext; } + private: - const CComponentLibrary* _pComponentLibrary; + const CComponentLibrary *_pComponentLibrary{nullptr}; + + CParameterAccessContext &mAccessContext; }; |
