// // Copyright 1997 Nicholas J. Irias. All rights reserved. // // // P4Label.h #ifndef __P4LABEL__ #define __P4LABEL__ // Class CP4Label - a simple wrapper to parse and store info returned by 'P4 labels' class CP4Label : public CObject { public: CP4Label(); DECLARE_DYNCREATE(CP4Label) protected: CString m_LabelName; 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 labelRow); BOOL Create(StrDict *varlist); LPCTSTR GetLabelName() const {ASSERT(m_Initialized); return m_LabelName; } 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 m_Date; } LPCTSTR GetDescription() const {ASSERT(m_Initialized); return m_Description; } ~CP4Label(); }; #endif //__P4LABEL__
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 9617 | Ben_Key |
Populate //guest/Ben_Key/p4win/trunk/... from //guest/perforce_software/p4win/.... |
||
//guest/perforce_software/p4win/gui/P4Label.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. |