diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-02 15:37:00 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-02 15:37:00 (GMT) |
commit | bf044cec81c2b31c94850fffd184f99a95c84264 (patch) | |
tree | 722bd40d56b96f8ee06eaf8fd15dee79eb4029f2 /Source/CPack/cmCPackTGZGenerator.h | |
parent | 8b0c04724caebcf60161eeae53fd05330594ac08 (diff) | |
download | CMake-bf044cec81c2b31c94850fffd184f99a95c84264.zip CMake-bf044cec81c2b31c94850fffd184f99a95c84264.tar.gz CMake-bf044cec81c2b31c94850fffd184f99a95c84264.tar.bz2 |
COMP: Fix build problems
Diffstat (limited to 'Source/CPack/cmCPackTGZGenerator.h')
-rw-r--r-- | Source/CPack/cmCPackTGZGenerator.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Source/CPack/cmCPackTGZGenerator.h b/Source/CPack/cmCPackTGZGenerator.h index c536a8e..1d2b028 100644 --- a/Source/CPack/cmCPackTGZGenerator.h +++ b/Source/CPack/cmCPackTGZGenerator.h @@ -18,9 +18,9 @@ #ifndef cmCPackTGZGenerator_h #define cmCPackTGZGenerator_h - #include "cmCPackGenericGenerator.h" -#include "CPack/cmCPackConfigure.h" // for ssize_t + +class cmCPackTGZGeneratorForward; /** \class cmCPackTGZGenerator * \brief A generator for TGZ files @@ -30,6 +30,7 @@ class cmCPackTGZGenerator : public cmCPackGenericGenerator { public: + friend class cmCPackTGZGeneratorForward; cmCPackTypeMacro(cmCPackTGZGenerator, cmCPackGenericGenerator); /** @@ -50,10 +51,7 @@ public: virtual ~cmCPackTGZGenerator(); protected: - static int TGZ_Open(void *client_data, const char* name, int oflags, mode_t mode); - static ssize_t TGZ_Write(void *client_data, void *buff, size_t n); - static int TGZ_Close(void *client_data); - + virtual int GenerateHeader(std::ostream* os); int CompressFiles(const char* outFileName, const char* toplevel, const std::vector<std::string>& files); virtual const char* GetOutputExtension() { return "tar.gz"; } |