class StrBuf;
class StrPtr;
class RBFile
{
public:
RBFile(void);
~RBFile(void);
enum Action { None=0, Add, Edit, Delete, Branch, Integ, Import, Purge };
const StrBuf& path() { return *depotPath; };
int bRev() { return backRev; };
int hRev() { return headRev; };
Action bAct() { return backAction; };
Action hAct() { return headAction; };
void setPath( const StrPtr& path );
void initBack( int r, Action a ) { backRev = r; backAction = a; };
void initHead( int r, Action a ) { headRev = r; headAction = a; };
private:
StrBuf* depotPath;
int backRev;
Action backAction;
int headRev;
Action headAction;
};
# |
Change |
User |
Description |
Committed |
|
#1
|
6331 |
Shawn Hladky |
Integrating rollback into px |
|
|
//guest/sam_stafford/rollback/RBFile.h |
#1
|
6291 |
Sam Stafford |
C++ implementation of p4rollback.pl. |
|
|