/*
* 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;
int first;
long total;
int typeOfProgress;
};
# |
Change |
User |
Description |
Committed |
|
#2
|
15902 |
matt_attaway |
A second renaming that I will not obliterate as a badge of shame |
|
|
#1
|
15901 |
matt_attaway |
Clean up code to fit modern Workshop naming standards |
|
|
//guest/perforce_software/p4/2014.1/client/clientprog.h |
#1
|
12188 |
matt_attaway |
Move 'main' p4 into a release specific directory in prep for new releases |
|
|
//guest/perforce_software/p4/client/clientprog.h |
#1
|
9129 |
matt_attaway |
Initial commit of the 2014.1 p4/p4api source code |
|
|