diff options
author | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2014-10-05 08:52:57 (GMT) |
---|---|---|
committer | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2014-10-05 08:52:57 (GMT) |
commit | ed9684a22cf4babeaa1f9083f4061d789e513ba9 (patch) | |
tree | b9ee70182d4f8639770898479579373a65ca36d5 /Source/CPack/IFW/cmCPackIFWInstaller.h | |
parent | f9f748745c6f4ef5b2dbf6d0732bc67a23d1cc63 (diff) | |
download | CMake-ed9684a22cf4babeaa1f9083f4061d789e513ba9.zip CMake-ed9684a22cf4babeaa1f9083f4061d789e513ba9.tar.gz CMake-ed9684a22cf4babeaa1f9083f4061d789e513ba9.tar.bz2 |
CPackIFW: Added support for multiple repositories
Now user can add IFW specific repo with cpack_ifw_add_repository macro
Diffstat (limited to 'Source/CPack/IFW/cmCPackIFWInstaller.h')
-rw-r--r-- | Source/CPack/IFW/cmCPackIFWInstaller.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/CPack/IFW/cmCPackIFWInstaller.h b/Source/CPack/IFW/cmCPackIFWInstaller.h index 1630a94..5824d33 100644 --- a/Source/CPack/IFW/cmCPackIFWInstaller.h +++ b/Source/CPack/IFW/cmCPackIFWInstaller.h @@ -27,6 +27,15 @@ 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; + }; + public: // Constructor /** @@ -69,6 +78,7 @@ public: // Configuration public: // Internal implementation const char* GetOption(const std::string& op) const; + bool IsOn(const std::string& op) const; void ConfigureFromOptions(); @@ -78,6 +88,7 @@ public: // Internal implementation cmCPackIFWGenerator* Generator; PackagesMap Packages; + std::vector<RepositoryStruct> Repositories; std::string Directory; }; |