diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-02 21:14:21 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-02 21:14:21 (GMT) |
commit | bbf1c2d275ce58a76cfe5d3a6539a3bb490456b7 (patch) | |
tree | 73ebeba061fde907454361a8d51e7f9ddadbaa81 /Source/CPack/cmCPackGenerators.h | |
parent | 9d0f86d7d017aa00420800bd72e00d45681710c9 (diff) | |
download | CMake-bbf1c2d275ce58a76cfe5d3a6539a3bb490456b7.zip CMake-bbf1c2d275ce58a76cfe5d3a6539a3bb490456b7.tar.gz CMake-bbf1c2d275ce58a76cfe5d3a6539a3bb490456b7.tar.bz2 |
ENH: More improvements and add logging
Diffstat (limited to 'Source/CPack/cmCPackGenerators.h')
-rw-r--r-- | Source/CPack/cmCPackGenerators.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackGenerators.h b/Source/CPack/cmCPackGenerators.h index 4f459d5..3a08e7d 100644 --- a/Source/CPack/cmCPackGenerators.h +++ b/Source/CPack/cmCPackGenerators.h @@ -20,6 +20,7 @@ #include "cmObject.h" +class cmCPackLog; class cmCPackGenericGenerator; /** \class cmCPackGenerators @@ -42,12 +43,15 @@ public: void RegisterGenerator(const char* name, CreateGeneratorCall* createGenerator); + void SetLogger(cmCPackLog* logger) { m_Logger = logger; } + private: cmCPackGenericGenerator* NewGeneratorInternal(const char* name); std::vector<cmCPackGenericGenerator*> m_Generators; typedef std::map<cmStdString, CreateGeneratorCall*> t_GeneratorCreatorsMap; t_GeneratorCreatorsMap m_GeneratorCreators; + cmCPackLog* m_Logger; }; #endif |