diff options
Diffstat (limited to 'Source/cmArchiveWrite.h')
-rw-r--r-- | Source/cmArchiveWrite.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Source/cmArchiveWrite.h b/Source/cmArchiveWrite.h index 92c0c73..0bd3e9b 100644 --- a/Source/cmArchiveWrite.h +++ b/Source/cmArchiveWrite.h @@ -32,11 +32,19 @@ public: { CompressNone, CompressGZip, - CompressBZip2 + CompressBZip2, + CompressLZMA + }; + + /** Archive Type */ + enum Type + { + TypeTAR, + TypeZIP }; /** Construct with output stream to which to write archive. */ - cmArchiveWrite(std::ostream& os, Compress c = CompressNone); + cmArchiveWrite(std::ostream& os, Compress c = CompressNone, Type = TypeTAR); ~cmArchiveWrite(); /** |