// // Copyright 2007 Perforce Software. All rights reserved. // // This file is part of Perforce - the FAST SCM System. // // p4wUploadLocalProcessorPane: // Holds output of a p4 fstat command #include <p4wp4.h> #include "p4wStrBuf.h" #include "p4wHtml.h" #include "p4wPane.h" #include "p4wUploadLocalProcessorPane.h" p4wUploadLocalProcessorPane::p4wUploadLocalProcessorPane( p4wView & ParentView, p4wRequest & Request ) : p4wPane( ParentView, Request ) { fClientFile << ""; fErrMsg = NULL; } p4wUploadLocalProcessorPane::~p4wUploadLocalProcessorPane() { } // ------------------------------------- // Render functions. // void p4wUploadLocalProcessorPane::Begin() { } void p4wUploadLocalProcessorPane::Render( StrDict * varList ) { StrPtr * action = varList->GetVar( "action" ); if( action && (*action == "edit" || *action == "add") ) { StrPtr *ptr = varList->GetVar( "clientFile" ); if (ptr) fClientFile << ptr; ptr = varList->GetVar( "type" ); if (ptr) fType << ptr; } else fErrMsg = "File is no longer open for Edit or Add."; } void p4wUploadLocalProcessorPane::End() { } void p4wUploadLocalProcessorPane::RenderInfo( char *data, char level ) { }
# | 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/p4wUploadLocalProcessorPane.cpp | |||||
#1 | 8914 | Matt Attaway | Initial add of the P4Web source code |