#ifndef CLIENTDEPOTUSER_H
#define CLIENTDEPOTUSER_H
/* The ClientDepotUser class is a ClientUser that is built to handle "p4 depot" and "p4 depots" *
* commands. It stores the data from these commands in public variables that can be accessed *
* later. */
class ClientDepotUser : public ClientUser
{
public:
ClientDepotUser();
virtual ~ClientDepotUser();
void OutputInfo(char, const_char *);
/* Called by Perforce for each line of output. We put it in the appropriate place based on specflag.*/
void OutputSpec(const_char *data);
/* A specially defined function for dumping the depot spec into a StrBuf. */
ListList depots;
/* After "p4 depots" is called, this will be a list of StrBufs that hold depot names. */
StrBuf spec;
/* If "p4 depot -o" is called, this will hold the entire spec. */
BOOL specflag;
/* Set this flag before calling a command, so this object knows how to treat the output. */
short results;
/* This is how we keep track of whether we've created more than MAXRESULTS depots and should stop. */
};
#endif | # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #1 | 7292 | Andrew McDonald | initial submittal | ||
| //guest/sam_stafford/p4hl/src/dlls/clientdepotuser.h | |||||
| #2 | 1689 | Sam Stafford |
Integrate 02.1 API and code cleanup to P4HL. Lots of work. Phew. |
||
| #1 | 937 | Sam Stafford |
Renaming my guest directory to the more conventional sam_stafford. |
||
| //guest/samwise/p4hl/src/dlls/clientdepotuser.h | |||||
| #1 | 936 | Sam Stafford |
Adding P4HL to the public depot. See relnotes.txt for installation instructions; all relevant files are under p4hl/dist. Source code is under p4hl/src in the form of a VC++ project. |
||