// // Copyright 1997 Nicholas J. Irias. All rights reserved. // // // P4FileStats.h #ifndef __TOKENSTRING__ #define __TOKENSTRING__ #define TOKENBUFFERSIZE 2048 class CTokenString { public: CTokenString(); ~CTokenString(); void Create(LPCTSTR str); void Reset(); LPTSTR GetToken(BOOL acceptQuoted = FALSE, BOOL acceptGtLt = FALSE); LPTSTR GetRemainder(); inline void PrepareParse() { ASSERT(m_Initialized); m_Token[0]=_T('\0'); m_pNext= m_pStr; } protected: LPTSTR m_pStr; int m_Len; BOOL m_Initialized; LPTSTR m_pNext; TCHAR m_Token[TOKENBUFFERSIZE]; }; #endif //__TOKENSTRING__
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 9617 | Ben_Key |
Populate //guest/Ben_Key/p4win/trunk/... from //guest/perforce_software/p4win/.... |
||
//guest/perforce_software/p4win/gui/TokenString.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. |