// // Copyright 1997 Nicholas J. Irias. All rights reserved. // // // Document.cpp : implementation of the CP4winDoc class // #include "stdafx.h" #include "P4win.h" #include "Document.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CP4winDoc IMPLEMENT_DYNCREATE(CP4winDoc, CDocument) BEGIN_MESSAGE_MAP(CP4winDoc, CDocument) //{{AFX_MSG_MAP(CP4winDoc) // NOTE - the ClassWizard will add and remove mapping macros here. // DO NOT EDIT what you see in these blocks of generated code! //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CP4winDoc construction/destruction CP4winDoc::CP4winDoc() { // TODO: add one-time construction code here } CP4winDoc::~CP4winDoc() { } BOOL CP4winDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CP4winDoc serialization void CP4winDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: add storing code here } else { // TODO: add loading code here } } ///////////////////////////////////////////////////////////////////////////// // CP4winDoc diagnostics #ifdef _DEBUG void CP4winDoc::AssertValid() const { CDocument::AssertValid(); } void CP4winDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CP4winDoc commands
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 19924 | YourUncleBob |
Populate -o //guest/perforce_software/p4win/... //guest/YourUncleBob/p4win/..... |
||
//guest/perforce_software/p4win/main/gui/Document.cpp | |||||
#1 | 16169 | perforce_software | Move files to follow new path scheme for branches. | ||
//guest/perforce_software/p4win/gui/Document.cpp | |||||
#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. |