ClientFileUser.h #1

  • //
  • guest/
  • samwise/
  • p4hl/
  • src/
  • dlls/
  • ClientFileUser.h
  • View
  • Commits
  • Open Download .zip Download (1 KB)
// ClientFileUser.h: interface for the ClientFileUser class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CLIENTFILEUSER_H__EA35F47C_FFE6_4310_B62F_112BC8829AAB__INCLUDED_)
#define AFX_CLIENTFILEUSER_H__EA35F47C_FFE6_4310_B62F_112BC8829AAB__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 "p4 files" and "p4 filelog" commands.  See ClientDepotUser for
 * more detailed comments on the way in which these ClientUser subclasses are used. */

class ClientFileUser : public ClientUser
{
public:
	/*OutputInfo() handles "p4 files" output by default.*/
	void OutputInfo(char, const_char*);
	/*OutputLog() handles "p4 filelog" output - it is called if logflag is set.*/
	void OutputLog(char, const_char*);
	ClientFileUser();
	virtual ~ClientFileUser();

	bool logflag; //Set this to handle "p4 filelog" output.
	short results;
	ListList files; //List of file paths in StrBuf form.
	StrBuf filelog; //StrBuf containing filelog output.
};

#endif // !defined(AFX_CLIENTFILEUSER_H__EA35F47C_FFE6_4310_B62F_112BC8829AAB__INCLUDED_)
# Change User Description Committed
#2 937 Sam Stafford Renaming my guest directory to the more conventional
sam_stafford.
#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.