- //
- // Copyright 1997 Nicholas J. Irias. All rights reserved.
- //
- //
- // Cmd_Revert.h
- //
- #include "P4Command.h"
- class CCmd_Revert : public CP4Command
- {
- // Construction
- public:
- CCmd_Revert(CGuiClient *client=NULL);
- DECLARE_DYNCREATE(CCmd_Revert)
- BOOL Run(CString &Revertspec,BOOL bChgList=FALSE,BOOL bUnChgd=FALSE,BOOL bPreview=FALSE, BOOL bVirtual=FALSE, BOOL bChkChgOnly=FALSE);
- BOOL Run(CStringList *files, BOOL bChgList=FALSE,BOOL bUnChgd=FALSE,BOOL bPreview=FALSE, BOOL bVirtual=FALSE, BOOL bChkChgOnly=FALSE);
- CStringList *GetFileList() { return &m_List; }
- BOOL OnlyUnChgd() { return m_UnChgd; }
- BOOL IsPreview() { return m_Preview; }
- int NbrNonEdits() { return m_NbrNonEdits; }
- void SetNbrNonEdits(int n) { m_NbrNonEdits = n; }
- LPCTSTR GetChgName() { return m_chgname; }
- void SetChgName(LPCTSTR str) { m_chgname = str; }
- // Attributes
- protected:
- BOOL m_UnChgd;
- BOOL m_Preview;
- BOOL m_ChkChgOnly;
- int m_NbrEdits;
- int m_NbrNonEdits;
- CStringList m_List;
- CStringList m_TempList;
- CString m_chgname;
- // CP4Command overrides
- virtual BOOL NextListArgs();
- virtual void OnOutputInfo(char level, LPCTSTR data, LPCTSTR msg);
- virtual BOOL IsQueueable() const { return TRUE; }
- 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_Revert.h | |||||
#1 | 16169 | perforce_software | Move files to follow new path scheme for branches. | 9 years ago | |
//guest/perforce_software/p4win/gui/p4api/Cmd_Revert.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 |