// PerforceClientService.h : main header file for the PERFORCECLIENTSERVICE application // #if !defined(AFX_PERFORCECLIENTSERVICE_H__EC5D5BA7_7CD4_4369_B14E_E68F7D7653EA__INCLUDED_) #define AFX_PERFORCECLIENTSERVICE_H__EC5D5BA7_7CD4_4369_B14E_E68F7D7653EA__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" // main symbols class FileSystemEvent; ///////////////////////////////////////////////////////////////////////////// // CPerforceClientServiceApp: // See PerforceClientService.cpp for the implementation of this class // class CPerforceClientServiceApp : public CWinApp { public: static char const * getRegistryKey(); public: CPerforceClientServiceApp(); void enqueueFileSystemEvent(FileSystemEvent * fileSystemEvent); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPerforceClientServiceApp) public: virtual BOOL InitInstance(); //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(CPerforceClientServiceApp) // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP() private: static UINT threadProc(LPVOID); }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PERFORCECLIENTSERVICE_H__EC5D5BA7_7CD4_4369_B14E_E68F7D7653EA__INCLUDED_)
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 4963 | Jeff Grills |
Major clean up and code reorganization. Add new dialog to control the directories that are watched. Persist the watched directories in the windows registry. Restore the watched directories when the application is run again. Handle login correctly. Change the way error messages are examined to make them significantly more robust. Issue an "info" command at startup to make sure we can communicate with the server and get logged in. Change the icon to the standard P4 icon. Allow the dialog to be minimized to the systray. Clicking on the systray icon will show the dialog again. |
||
#1 | 4896 | Jeff Grills |
First drop of the PerforceClientService. This version is only barely functional, supporting adds, edits, and deletes. It does not handle multiple operations on the same file gracefully. |