// // Copyright 2003 Perforce Softwares. All rights reserved. // // // P4Object.h #ifndef __P4OBJECT__ #define __P4OBJECT__ // Class CP4Object - a simple wrapper to store a P4 Object (Client, User, Label, Branch, etc) class CP4Object : public CObject { public: CP4Object(); DECLARE_DYNCREATE(CP4Object) protected: CStringArray m_Field; int m_Count; BOOL m_Initialized; public: void Create(LPCTSTR name); void AddField(LPCTSTR data) { ASSERT(m_Initialized); m_Field.Add(data); m_Count++; } LPCTSTR GetField(int i) const { ASSERT(m_Initialized); return m_Field[i]; } int GetCount() const { ASSERT(m_Initialized); return m_Count; } ~CP4Object(); }; #endif //__P4OBJECT__
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 19924 | YourUncleBob |
Populate -o //guest/perforce_software/p4win/... //guest/YourUncleBob/p4win/..... |
||
//guest/perforce_software/p4win/main/gui/P4Object.h | |||||
#1 | 16169 | perforce_software | Move files to follow new path scheme for branches. | ||
//guest/perforce_software/p4win/gui/P4Object.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. |