/* * Copyright 1995, 2011 Perforce Software. All rights reserved. * * This file is part of Perforce - the FAST SCM System. */ // client Progress type #define CPT_SENDFILE 1 #define CPT_RECVFILE 2 #define CPT_FILESTRANS 3 #define CPT_COMPUTATION 4 #define CPU_UNSPECIFIED 0 #define CPU_PERCENT 1 #define CPU_FILES 2 #define CPU_KBYTES 3 #define CPU_MBYTES 4 class ClientProgress { public: virtual ~ClientProgress() {}; virtual void Description( const StrPtr *desc, int units ) = 0; virtual void Total( long ) = 0; virtual int Update( long ) = 0; virtual void Done( int fail ) = 0; }; class ClientProgressText : public ClientProgress { public: ClientProgressText( int ); virtual ~ClientProgressText(); void Description( const StrPtr *description, int units ); void Total( long ); int Update( long ); void Done( int fail ); private: int cnt; long total; int typeOfProgress; int backup; StrBuf desc; };
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 15071 | alan_petersen |
Populate -o //guest/perforce_software/piper/... //guest/alan_petersen/piper/.... |
||
//guest/perforce_software/piper/mac/main/Perforce/p4api/Headers/clientprog.h | |||||
#2 | 13625 | alan_petersen |
UPDATE: - updated p4api to p4api-2015.1.1054991 - included in OpenSSL 1.0.2a ssl and crypto libraries The benefit of these are that Piper now supports connecting to 15.1 servers, and also supports ssl: connections. Woo hoo! |
||
#1 | 11252 | alan_petersen | Rename/move file(s) | ||
//guest/perforce_software/piper/mac/Perforce/p4api/Headers/clientprog.h | |||||
#1 | 10744 | alan_petersen | Rename/move file(s) | ||
//guest/perforce_software/piper/Perforce/p4api/Headers/clientprog.h | |||||
#1 | 8919 | Matt Attaway | Initial add of Piper, a lightweight Perforce client for artists and designers. |