/* * Copyright 2004 Perforce Software. All rights reserved. * * Developed by Data Shades Ltd. */ #ifndef INC_EXTERNAL_REF_DIALOG #define INC_EXTERNAL_REF_DIALOG #include "Dialog.h" #include "PerforceResults.h" #include "StrBufArray.h" /* * ExternalRefDialog - Dialog allowing user to sync external * reference files. */ class ExternalRefDialog : public Dialog { public: /* * Constructor. * * ops - The plugin operations object. * results - Results of doing a p4 fstat on the files */ ExternalRefDialog( PluginOperations *ops, PerforceResults *results ); /* * Destructor */ ~ExternalRefDialog(); /* * Return the results of the p4 fstat */ PerforceResults *Results() { return results; }; /* * Get list of files to sync */ StrBufArray *GetSyncFiles() {return syncFiles;}; private: /* * Dialog windows procedure * * hWnd - Handle of dialog window. * uMsg - Windows message. * wParam - Message wParam. * lParam - Message lParam. */ static BOOL CALLBACK DialogWndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ); /* * Set list of files to sync * * syncFiles - Array of files to sync */ void SetSyncFiles( StrBufArray *syncFiles ) {this->syncFiles = syncFiles;}; PerforceResults *results; StrBufArray *syncFiles; }; #endif
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 11893 | Robert Cowham |
Populate -o //guest/robert_cowham/perforce/P4OFC/main/... //guest/robert_cowham/perforce/P4OFC/icm/.... |
||
//guest/robert_cowham/perforce/P4OFC/main/libp4gt/ExternalRefDialog.h | |||||
#1 | 10843 | Robert Cowham |
Initial version of P4OFC source code. See README.txt (and LICENSE.txt and doc\P4OFC-Design.docx) |