// // // Copyright 1999,2001 Perforce Software. All rights reserved. // // This file is part of Perforce - the FAST SCM System. // // // Cmd_Depots.h // Runs "p4 depots" to get lists of local and remote depots // Lists will be filtered by client view, if in client-view-only // mode. // // Also, sets app->m_bNoCRLF according to client settings. #include "P4Command.h" class CCmd_Depots : public CP4Command { public: // Construction CCmd_Depots( CGuiClient *client = NULL ); ~CCmd_Depots( ); DECLARE_DYNCREATE( CCmd_Depots ) CStringList *GetLocalDepotList() { return &m_LocalDepotList; } CStringList *GetRemoteDepotList() { return &m_RemoteDepotList; } BOOL Run( ); protected: // Attributes CStringList m_LocalDepotList; CStringList m_RemoteDepotList; // CP4Command overrides virtual void OnOutputInfo( char level, LPCTSTR data, LPCTSTR msg ); virtual BOOL HandledCmdSpecificError( LPCTSTR errBuf, LPCTSTR errMsg ); virtual void PostProcess(); virtual BOOL IsQueueable() const { return TRUE; } BOOL m_GotDepot; };
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 11099 | brkarpala | Integrate p4win from //guest/perforce_software/p4win/...@8562 | ||
//guest/perforce_software/p4win/gui/p4api/Cmd_Depots.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. |