// // 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 | 9617 | Ben_Key |
Populate //guest/Ben_Key/p4win/trunk/... from //guest/perforce_software/p4win/.... |
||
//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 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. |