/* * Copyright 1995, 2003 Perforce Software. All rights reserved. * * This file is part of Perforce - the FAST SCM System. */ /* * zipfile.h - a class for zipping and unzipping zip files * * Classes Defined: * * ZipFile */ class ZipFile { public: ZipFile(); ~ZipFile(); void Open( const char *fName, Error *e ); void Close(); void AppendBytes( const char *bytes, p4size_t len, Error *e ); void StartEntry( const char *entry, Error *e ); void FinishEntry( Error *e ); offL_t GetSize(); private: void *zf; StrBuf zfName; } ; class UnzipFile { public: UnzipFile(); virtual ~UnzipFile(); void Open( const char *fName, Error *e ); void Close(); int HasEntry( const char *entry ); virtual void OpenEntry( const char *entry, Error *e ); void CloseEntry(); int ReadBytes( char *bytes, p4size_t len, Error *e ); offL_t GetSize(); protected: void *zf; private: StrBuf zfName; } ;
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 18760 | rlranft |
Populate -o //guest/perforce_software/p4/... //guest/rlranft/p4/.... |
||
//guest/perforce_software/p4/2015-1/sys/zipfile.h | |||||
#1 | 15903 | Matt Attaway | Everything should be happy now between the Workshop and the depot paths | ||
//guest/perforce_software/p4/2015_1/sys/zipfile.h | |||||
#1 | 15901 | Matt Attaway | Clean up code to fit modern Workshop naming standards | ||
//guest/perforce_software/p4/2015.1/sys/zipfile.h | |||||
#1 | 12190 | Matt Attaway | Initial drop of 2015.1 p4/p4api source |