summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackZIPGenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CPack/cmCPackZIPGenerator.h')
-rw-r--r--Source/CPack/cmCPackZIPGenerator.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/Source/CPack/cmCPackZIPGenerator.h b/Source/CPack/cmCPackZIPGenerator.h
index 7ff0dc3..70e1a5f 100644
--- a/Source/CPack/cmCPackZIPGenerator.h
+++ b/Source/CPack/cmCPackZIPGenerator.h
@@ -13,18 +13,15 @@
#ifndef cmCPackZIPGenerator_h
#define cmCPackZIPGenerator_h
-#include "cmCPackGenerator.h"
-
-class cmCPackZIPGeneratorForward;
+#include "cmCPackArchiveGenerator.h"
/** \class cmCPackZIPGenerator
* \brief A generator for ZIP files
*/
-class cmCPackZIPGenerator : public cmCPackGenerator
+class cmCPackZIPGenerator : public cmCPackArchiveGenerator
{
public:
- friend class cmCPackZIPGeneratorForward;
- cmCPackTypeMacro(cmCPackZIPGenerator, cmCPackGenerator);
+ cmCPackTypeMacro(cmCPackZIPGenerator, cmCPackArchiveGenerator);
/**
* Construct generator
@@ -33,12 +30,7 @@ public:
virtual ~cmCPackZIPGenerator();
protected:
- virtual int InitializeInternal();
- int CompressFiles(const char* outFileName, const char* toplevel,
- const std::vector<std::string>& files);
virtual const char* GetOutputExtension() { return ".zip"; }
-
- int ZipStyle;
};
#endif