// // Copyright 2002 Perforce Software. All rights reserved. // // This file is part of Perforce - the FAST SCM System. // // p4wDepotPane: // runs p4 depots - saves results in StrArray RemoteList #include <p4wp4.h> #include "p4wStrBuf.h" #include "p4wHtml.h" #include "p4wPane.h" #include "p4wDepotPane.h" p4wDepotPane::p4wDepotPane( p4wView & ParentView, p4wRequest & Request ) : p4wPane( ParentView, Request ), fSeenData(0), fError(0) { } p4wDepotPane::~p4wDepotPane() { } void p4wDepotPane::Begin() { } void p4wDepotPane::Render( StrDict * varList ) { const StrPtr *name = varList->GetVar( "name" ); const StrPtr *type = varList->GetVar( "type" ); if (type && *type != "local") { StrBuf *newRmt = RemoteList.Put(); *newRmt << name << "/"; } fSeenData = 1; } void p4wDepotPane::RenderError( char *data, int escapeHTML ) { if( fSeenData ) return; fErrMsg << data << " "; fError = 1; } void p4wDepotPane::End() { }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 12234 | Matt Attaway |
Rejigger P4Web project in preparation for official sunsetting The bin directory contains the last official builds of P4Web from the Perforce download site. P4Web is soon to be completely sunsetted; these builds are here for folks who don't want to build their own. To better handle the archived builds the source code has been moved into a separate src directory. |
||
//guest/perforce_software/p4web/Panes/p4wDepotPane.cpp | |||||
#1 | 8914 | Matt Attaway | Initial add of the P4Web source code |