// ClientDirUser.h: interface for the ClientDirUser class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CLIENTDIRUSER_H__D373CAF4_C93F_44B6_B57A_0D8A5AAD8AEB__INCLUDED_)
#define AFX_CLIENTDIRUSER_H__D373CAF4_C93F_44B6_B57A_0D8A5AAD8AEB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "listnode.h"
#include "filesys.h"
#include "error.h"
#include "clientuser.h"
#include "p4objects.h"
/* This ClientUser subclass handles output pertaining to folder objects - specifically, the
* output of the "p4 dirs" and "p4 changes" commands. Its structure is similar to ClientDepotUser,
* so refer to that class if anything here doesn't make sense. */
class ClientDirUser : public ClientUser
{
public:
ClientDirUser();
virtual ~ClientDirUser();
/* This function handles "p4 dirs" by default, but calls OutputChanges if changeflag is set.*/
void OutputInfo(char, const_char *);
/* OutputChanges() dumps "p4 changes" output into a StrBuf. */
void OutputChanges(const_char *);
ListList dirs; //Holds a list of directory names in StrBuf form.
StrBuf changes; //Holds "p4 changes" output.
BOOL changeflag; //This flag should be set true if the command is "p4 changes".
short results; //MAXRESULTS checker.
};
#endif // !defined(AFX_CLIENTDIRUSER_H__D373CAF4_C93F_44B6_B57A_0D8A5AAD8AEB__INCLUDED_)
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #3 | 1689 | Sam Stafford |
Integrate 02.1 API and code cleanup to P4HL. Lots of work. Phew. |
||
| #2 | 1024 | Sam Stafford |
Reworked entity creation in most cases - it's done one at a time now rather than all at once. This allows us to have more entities than the previous limit of 130, and also looks a little nicer. Folders and files now pop into existence instantly instead of sliding - makes navigation easier. Depots still slide because there typically aren't as many of them (okay, I might eventually make them pop too, but I'm tired now). Revisions slide because it looks really cool - like a waterfall pouring out of the file. The upper limit to entities is now due to the "visible entity packet" thing, which I'm certain I have no control over - it's as high as it can possibly be right now. |
||
| #1 | 937 | Sam Stafford |
Renaming my guest directory to the more conventional sam_stafford. |
||
| //guest/samwise/p4hl/src/dlls/ClientDirUser.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. |
||