summaryrefslogtreecommitdiff
path: root/IvyFileMon/IvyFileMonDlg.h
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:29:31 +0000
committerfcolin2007-02-01 13:29:31 +0000
commitafe2e7dfc1388cad991e8d38dda7d648c137aa52 (patch)
tree92bf63d2b2b34a805927aa294c7c51912638f66a /IvyFileMon/IvyFileMonDlg.h
parent0be65f8a110ee9bf5da9c93e0bd5b5b62b3bad0c (diff)
parent04c263c314499e38d64af9d4a1aa5e2b8d9d5ead (diff)
downloadivy-cplusplus-windows@3001.zip
ivy-cplusplus-windows@3001.tar.gz
ivy-cplusplus-windows@3001.tar.bz2
ivy-cplusplus-windows@3001.tar.xz
modif struct svnwindows@3001
Diffstat (limited to 'IvyFileMon/IvyFileMonDlg.h')
-rw-r--r--IvyFileMon/IvyFileMonDlg.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/IvyFileMon/IvyFileMonDlg.h b/IvyFileMon/IvyFileMonDlg.h
new file mode 100644
index 0000000..ffec31a
--- /dev/null
+++ b/IvyFileMon/IvyFileMonDlg.h
@@ -0,0 +1,55 @@
+// IvyFileMonDlg.h : fichier d'en-tête
+//
+
+#pragma once
+
+#include "Ivy.h"
+#include "afxwin.h"
+
+#include "DirectoryChanges.h"
+#include "HistoryEdit.h"
+
+// boîte de dialogue CIvyFileMonDlg
+class CIvyFileMonDlg : public CDialog, public IvyApplicationCallback, public CDirectoryChangeHandler
+{
+// Construction
+public:
+ CIvyFileMonDlg(CWnd* pParent = NULL); // constructeur standard
+
+// Données de la boîte de dialogue
+ enum { IDD = IDD_IVYFILEMON_DIALOG };
+
+ protected:
+ virtual void DoDataExchange(CDataExchange* pDX); // prise en charge de DDX/DDV
+ virtual void OnCancel();
+
+// Implémentation
+protected:
+ HICON m_hIcon;
+
+ Ivy *bus;
+ void WriteMessage(const char * format, ...);
+ void OnApplicationConnected( IvyApplication *app );
+ void OnApplicationDisconnected( IvyApplication *app );
+ void OnDirectMessage( IvyApplication *app, int id, const char *arg );
+ void SendIvyFile( const CString & strFileName );
+
+ // Directory Handler
+ CDirectoryChangeWatcher watcher;
+ virtual void On_FileAdded(const CString & strFileName);
+ virtual void On_FileModified(const CString & strFileName);
+
+ // Fonctions générées de la table des messages
+ virtual BOOL OnInitDialog();
+ afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
+ afx_msg void OnPaint();
+ afx_msg HCURSOR OnQueryDragIcon();
+ DECLARE_MESSAGE_MAP()
+public:
+ CString m_busnumber;
+ CString m_directory;
+ CString m_prefix;
+ afx_msg void OnBnClickedStart();
+ CHistoryEdit m_text;
+ CString m_extent;
+};