- //
- // Copyright 1997 Nicholas J. Irias. All rights reserved.
- //
- //
- // Cmd_Diff.h
- //
- #include "P4Command.h"
- typedef struct _TWOSTRINGS
- {
- RUNAPPTHREADINFO rati;
- LPTSTR str1;
- LPTSTR str2;
- } TWOSTRINGS;
- class CCmd_Diff : public CP4Command
- {
- // Construction
- public:
- CCmd_Diff(CGuiClient *client=NULL);
- DECLARE_DYNCREATE(CCmd_Diff)
- BOOL Run(CStringList *files, LPCTSTR filter=NULL, TCHAR sFlag='\0', BOOL bThreadWait=FALSE);
- int GetDiffRunCount() const {return m_DiffRunCount; }
- int GetDiffErrCount() const {return m_DiffErrCount; }
- LPCTSTR GetDiffErrBuf() const {return m_DiffErrBuf; }
- void Diff( FileSys *f1, FileSys *f2, int doPage, char *diffFlags, Error *e );
- CStringList *GetList() { return &m_StrListOut; }
- int GetDiffNbrFiles() const;
- LPCTSTR GetDiffFileName() const;
- TCHAR GetSflag() const { return m_sFlag; }
- CString RenameFileExt(CString file1, LPCTSTR ext1, LPCTSTR ext2);
- // Attributes
- protected:
- int m_DiffRunCount;
- int m_DiffErrCount;
- CString m_DiffErrBuf;
- TCHAR m_sFlag;
- BOOL m_ThreadWait;
- // CP4Command overrides
- 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/..... |
9 years ago | |
//guest/perforce_software/p4win/main/gui/p4api/Cmd_Diff.h | |||||
#1 | 16169 | perforce_software | Move files to follow new path scheme for branches. | 9 years ago | |
//guest/perforce_software/p4win/gui/p4api/Cmd_Diff.h | |||||
#1 | 8562 | Matt Attaway | These feet never stop running. Initial commit of the P4Win source code. To the be...st 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. « |
11 years ago |