summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackTGZGenerator.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-01-02 15:37:00 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-01-02 15:37:00 (GMT)
commitbf044cec81c2b31c94850fffd184f99a95c84264 (patch)
tree722bd40d56b96f8ee06eaf8fd15dee79eb4029f2 /Source/CPack/cmCPackTGZGenerator.h
parent8b0c04724caebcf60161eeae53fd05330594ac08 (diff)
downloadCMake-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.h10
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"; }