#if !defined(AFX_DIRECTORYLIST_H__D52BD4EF_DF0C_4ABC_9C1F_4171FDEFA629__INCLUDED_) #define AFX_DIRECTORYLIST_H__D52BD4EF_DF0C_4ABC_9C1F_4171FDEFA629__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // DirectoryList.h : header file // ///////////////////////////////////////////////////////////////////////////// // DirectoryList dialog class DirectoryList : public CDialog { // Construction public: static void install(); static void remove(); public: DirectoryList(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(DirectoryList) enum { IDD = IDD_DIRECTORIES }; CListBox m_directoryList; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(DirectoryList) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL private: static void saveToRegistry(); static void createDirectoryWatchers(); static void destroyDirectoryWatchers(); // Implementation protected: bool m_changed; // Generated message map functions //{{AFX_MSG(DirectoryList) virtual BOOL OnInitDialog(); afx_msg void OnAdd(); afx_msg void OnModify(); afx_msg void OnDelete(); virtual void OnOK(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_DIRECTORYLIST_H__D52BD4EF_DF0C_4ABC_9C1F_4171FDEFA629__INCLUDED_)
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 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. |