diff options
author | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2016-05-17 14:00:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-05-18 13:49:14 (GMT) |
commit | 41199f8c1ea02bacb516ae8bd57d9c9e1d3fd4ee (patch) | |
tree | 07b7d562e9896dc36de8a79dffb5a80290b560ab /Source/CPack/IFW/cmCPackIFWInstaller.h | |
parent | 6ca6b0dd7b1f4bb7429cbe039101558c58f3ea27 (diff) | |
download | CMake-41199f8c1ea02bacb516ae8bd57d9c9e1d3fd4ee.zip CMake-41199f8c1ea02bacb516ae8bd57d9c9e1d3fd4ee.tar.gz CMake-41199f8c1ea02bacb516ae8bd57d9c9e1d3fd4ee.tar.bz2 |
CPackIFW: Add support for Promoting Updates
Add support for this feature added by QtIFW 2.0.3:
http://doc.qt.io/qtinstallerframework/ifw-updates.html
Add a `cpack_ifw_update_repository` command as porcelain.
Diffstat (limited to 'Source/CPack/IFW/cmCPackIFWInstaller.h')
-rw-r--r-- | Source/CPack/IFW/cmCPackIFWInstaller.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/Source/CPack/IFW/cmCPackIFWInstaller.h b/Source/CPack/IFW/cmCPackIFWInstaller.h index 84a789e..3170116 100644 --- a/Source/CPack/IFW/cmCPackIFWInstaller.h +++ b/Source/CPack/IFW/cmCPackIFWInstaller.h @@ -17,6 +17,7 @@ class cmCPackIFWPackage; class cmCPackIFWGenerator; +class cmCPackIFWRepository; class cmXMLWriter; /** \class cmCPackIFWInstaller @@ -28,15 +29,7 @@ public: // Types typedef std::map<std::string, cmCPackIFWPackage*> PackagesMap; - - struct RepositoryStruct - { - std::string Url; - std::string Enabled; - std::string Username; - std::string Password; - std::string DisplayName; - }; + typedef std::vector<cmCPackIFWRepository*> RepositoriesVector; public: // Constructor @@ -115,7 +108,7 @@ public: cmCPackIFWGenerator* Generator; PackagesMap Packages; - std::vector<RepositoryStruct> Repositories; + RepositoriesVector RemoteRepositories; std::string Directory; protected: |