// // Copyright 1997 Nicholas J. Irias. All rights reserved. // // // Cmd_Where.h // #include "P4Command.h" class CCmd_Where : public CP4Command { // Construction public: CCmd_Where(CGuiClient *client=NULL); DECLARE_DYNCREATE(CCmd_Where) BOOL Run(CString &filespec); BOOL Run(CStringList *filelist); CString GetDepotSyntax() { ASSERT(m_Depot.GetCount() && 1); return m_Depot.GetTail(); } CString GetClientSyntax() { ASSERT(m_Client.GetCount() && 1); return m_Client.GetTail(); } CString GetLocalSyntax() { ASSERT(m_Local.GetCount() && 1); return m_Local.GetTail(); } CStringList *GetDepotFiles() { return &m_Depot; } CStringList *GetClientFiles() { return &m_Client; } CStringList *GetLocalFiles() { return &m_Local; } // Attributes protected: CStringList m_Depot; CStringList m_Client; CStringList m_Local; // CP4Command overrides virtual void OnOutputInfo(char level, LPCTSTR data, LPCTSTR msg); virtual BOOL IsQueueable() const { return TRUE; } virtual BOOL HandledCmdSpecificError(LPCTSTR errBuf, LPCTSTR errMsg); };
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 9617 | Ben_Key |
Populate //guest/Ben_Key/p4win/trunk/... from //guest/perforce_software/p4win/.... |
||
//guest/perforce_software/p4win/gui/p4api/Cmd_Where.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. |