Cmd_Diff2.h. #1

  • //
  • guest/
  • YourUncleBob/
  • p4win/
  • main/
  • gui/
  • p4api/
  • Cmd_Diff2.h.
  • View
  • Commits
  • Open Download .zip Download (1 KB)
//
// Copyright 1997 Nicholas J. Irias.  All rights reserved.
//
//

// Cmd_Diff2.h  
//
//

#include "P4Command.h"


class CCmd_Diff2 : public CP4Command
{
    // Construction
public:
    CCmd_Diff2(CGuiClient *client=NULL);
    DECLARE_DYNCREATE(CCmd_Diff2)

    BOOL Run(LPCTSTR file1, LPCTSTR file2, 
			    int rev1, int rev2, 
				CString &fileType1, CString &fileType2, 
				BOOL bLocal1=FALSE, BOOL bLocal2=FALSE, BOOL bDoIt=FALSE);

    LPCTSTR GetInfoText() const { return m_InfoText; }
	void SetOutput2Dlg(BOOL b) { m_Output2Dlg = b; }
	BOOL IsOutput2Dlg() { return m_Output2Dlg; }
	CString &GetFileName(int i) { return m_FileName[i ? 1 : 0]; }

protected:
    CString m_InfoText;
    CString m_FileName[2];
    long m_FileRev[2];
    CString m_FileType[2];
	BOOL m_LocalFlag[2];
	BOOL m_DoIt;
	BOOL m_Output2Dlg;
		    
    // CP4Command overrides
    virtual void PreProcess(BOOL& done);
	virtual void OnOutputInfo(char level, LPCTSTR data, LPCTSTR msg);
	virtual BOOL HandledCmdSpecificError(LPCTSTR errBuf, LPCTSTR errMsg);
};









# Change User Description Committed
#1 19924 YourUncleBob Populate -o //guest/perforce_software/p4win/...
//guest/YourUncleBob/p4win/.....
//guest/perforce_software/p4win/main/gui/p4api/Cmd_Diff2.h
#1 16169 perforce_software Move files to follow new path scheme for branches.
//guest/perforce_software/p4win/gui/p4api/Cmd_Diff2.h
#1 8562 Matt Attaway These feet never stop running.

Initial commit of the P4Win source code.  To the best of our knowledge this
compiles and runs using the 2013.3 P4 API and VS 2010. Expect a few changes
as we refine the build process. Please post any build issues to the forums.