diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-08 21:35:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-06-09 13:16:34 (GMT) |
commit | e9da5192e5bd0c660bfe36fe5bdab57f7b13cdcb (patch) | |
tree | e0ce47be17613c2a86734214cb56e06fbd6372ef /Source/CPack/cmCPackPKGGenerator.h | |
parent | ba92e11f8b461513566d5cc3c0b53b2215bb85f7 (diff) | |
download | CMake-e9da5192e5bd0c660bfe36fe5bdab57f7b13cdcb.zip CMake-e9da5192e5bd0c660bfe36fe5bdab57f7b13cdcb.tar.gz CMake-e9da5192e5bd0c660bfe36fe5bdab57f7b13cdcb.tar.bz2 |
CPack/PackageMaker: port to cmXMLWriter
Diffstat (limited to 'Source/CPack/cmCPackPKGGenerator.h')
-rw-r--r-- | Source/CPack/cmCPackPKGGenerator.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/CPack/cmCPackPKGGenerator.h b/Source/CPack/cmCPackPKGGenerator.h index 20ba94c..8d10943 100644 --- a/Source/CPack/cmCPackPKGGenerator.h +++ b/Source/CPack/cmCPackPKGGenerator.h @@ -16,6 +16,7 @@ #include "cmCPackGenerator.h" class cmCPackComponent; +class cmXMLWriter; /** \class cmCPackPKGGenerator * \brief A generator for pkg files @@ -78,21 +79,15 @@ protected: // their components in a form that can be used by distribution // metapackages. void CreateChoiceOutline(const cmCPackComponentGroup& group, - std::ostringstream& out); + cmXMLWriter& xout); /// Create the "choice" XML element to describe a component group /// for the installer GUI. - void CreateChoice(const cmCPackComponentGroup& group, - std::ostringstream& out); + void CreateChoice(const cmCPackComponentGroup& group, cmXMLWriter& xout); /// Create the "choice" XML element to describe a component for the /// installer GUI. - void CreateChoice(const cmCPackComponent& component, - std::ostringstream& out); - - // Escape the given string to make it usable as an XML attribute - // value. - std::string EscapeForXML(std::string str); + void CreateChoice(const cmCPackComponent& component, cmXMLWriter& xout); // The PostFlight component when creating a metapackage cmCPackComponent PostFlightComponent; |