diff options
Diffstat (limited to 'Source/cmGeneratedFileStream.h')
-rw-r--r-- | Source/cmGeneratedFileStream.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmGeneratedFileStream.h b/Source/cmGeneratedFileStream.h index ff5f228..e9b1bb7 100644 --- a/Source/cmGeneratedFileStream.h +++ b/Source/cmGeneratedFileStream.h @@ -41,6 +41,9 @@ protected: // Internal file replacement implementation. int RenameFile(const char* oldname, const char* newname); + // Internal file compression implementation. + int CompressFile(const char* oldname, const char* newname); + // The name of the final destination file for the output. std::string m_Name; @@ -52,6 +55,9 @@ protected: // Whether the destination file should be replaced. bool m_Okay; + + // Whether the destionation file is compressed + bool m_Compress; }; /** \class cmGeneratedFileStream @@ -103,6 +109,11 @@ public: * Set whether copy-if-different is done. */ void SetCopyIfDifferent(bool copy_if_different); + + /** + * Set whether compression is done. + */ + void SetCompression(bool compression); }; #endif |