// // Copyright 1997 Nicholas J. Irias. All rights reserved. // // // P4Fix.h #ifndef __P4FIX__ #define __P4FIX__ // Class CP4Fix - a simple wrapper to parse and store info returned by 'P4 fixes' class CP4Fix : public CObject { public: CP4Fix(); DECLARE_DYNCREATE(CP4Fix) protected: CString m_JobName; CString m_FixDate; CString m_User; long m_ChangeNum; BOOL m_Initialized; public: BOOL Create(LPCTSTR fixRow); // char * as returned by 'p4 fixes' BOOL CreateMyFix(LPCTSTR fixesRow); // char * as returned by 'p4 fix' BOOL CreateFromUnfix(LPCTSTR unfixRow); LPCTSTR GetJobName() {ASSERT(m_Initialized); return m_JobName; } LPCTSTR GetFixDate() {ASSERT(m_Initialized); return m_FixDate; } LPCTSTR GetUser() {ASSERT(m_Initialized); return m_User; } long GetChangeNum() {ASSERT(m_Initialized); return m_ChangeNum; } ~CP4Fix(); }; #endif //__P4FIX__
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 9617 | Ben_Key |
Populate //guest/Ben_Key/p4win/trunk/... from //guest/perforce_software/p4win/.... |
||
//guest/perforce_software/p4win/gui/P4Fix.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. |