// // Copyright 1997 Nicholas J. Irias. All rights reserved. // // // P4Branch.h #ifndef __P4BRANCH__ #define __P4BRANCH__ // Class CP4Branch - a simple wrapper to parse and store info returned by 'P4 branchs' class CP4Branch : public CObject { public: CP4Branch(); DECLARE_DYNCREATE(CP4Branch) protected: CString m_BranchName; CString m_Owner; CString m_Options; CString m_Date; CString m_Description; BOOL m_Initialized; public: void Create(LPCTSTR name, LPCTSTR owner, LPCTSTR options, LPCTSTR date, LPCTSTR desc); BOOL Create(LPCTSTR branchRow); BOOL Create(StrDict *varlist); LPCTSTR GetBranchName() const {ASSERT(m_Initialized); return LPCTSTR(m_BranchName); } LPCTSTR GetOwner() const {ASSERT(m_Initialized); return m_Owner; } LPCTSTR GetOptions() const {ASSERT(m_Initialized); return m_Options; } LPCTSTR GetDate() const {ASSERT(m_Initialized); return LPCTSTR(m_Date); } LPCTSTR GetDescription() const {ASSERT(m_Initialized); return LPCTSTR(m_Description); } ~CP4Branch(); }; #endif //__P4BRANCH__
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 9617 | Ben_Key |
Populate //guest/Ben_Key/p4win/trunk/... from //guest/perforce_software/p4win/.... |
||
//guest/perforce_software/p4win/gui/P4Branch.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. |