diff options
author | fcolin | 2007-02-01 13:08:05 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 13:08:05 +0000 |
commit | afb6c7c97442be8603f6a093719e54295cf80edc (patch) | |
tree | b6732a3f79d66ad3fd7655d6f4eaf86cdfdf7654 /Bus/IvyFileMon/IvyFileMonDlg.h | |
parent | e2b20ecca84f089fbca5a3c7c46d098ddfaec6db (diff) | |
download | ivy-cplusplus-afb6c7c97442be8603f6a093719e54295cf80edc.zip ivy-cplusplus-afb6c7c97442be8603f6a093719e54295cf80edc.tar.gz ivy-cplusplus-afb6c7c97442be8603f6a093719e54295cf80edc.tar.bz2 ivy-cplusplus-afb6c7c97442be8603f6a093719e54295cf80edc.tar.xz |
Utilisateur : Fcolin Date : 8/11/02 Heure : 11:50 Créé Commentaire: (vss 1)
Diffstat (limited to 'Bus/IvyFileMon/IvyFileMonDlg.h')
-rw-r--r-- | Bus/IvyFileMon/IvyFileMonDlg.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/Bus/IvyFileMon/IvyFileMonDlg.h b/Bus/IvyFileMon/IvyFileMonDlg.h new file mode 100644 index 0000000..ffec31a --- /dev/null +++ b/Bus/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;
+};
|