From dc3740113a3db349f005ee5e4a948cb5d9972120 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:04:08 +0000 Subject: Utilisateur : Fcolin Date : 16/06/00 Heure : 10:14 Créé (vss 1) --- Ivy/IvyWatcher.h | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Ivy/IvyWatcher.h diff --git a/Ivy/IvyWatcher.h b/Ivy/IvyWatcher.h new file mode 100644 index 0000000..7836a90 --- /dev/null +++ b/Ivy/IvyWatcher.h @@ -0,0 +1,52 @@ +#if !defined(AFX_BUSWATCHER_H__F7F08FE7_E653_11D0_AE3E_080009F92591__INCLUDED_) +#define AFX_BUSWATCHER_H__F7F08FE7_E653_11D0_AE3E_080009F92591__INCLUDED_ + +#if _MSC_VER >= 1000 +#pragma once +#endif // _MSC_VER >= 1000 +// IvyWatcher.h : header file +// + +#include "stdafx.h" +#include "ThreadedSocket.h" +#include "Ivy.h" + +///////////////////////////////////////////////////////////////////////////// +// IvyWatcher command target + +class IvyWatcher : public CThreadedSocket +{ +// Attributes +public: + +// Operations +public: + IvyWatcher(Ivy *bus); + virtual ~IvyWatcher(); +// Overrides +public: + void start(const char *domain); + void stop(); + // ClassWizard generated virtual function overrides + //{{AFX_VIRTUAL(IvyWatcher) + public: + virtual void OnReceive(int nErrorCode); + //}}AFX_VIRTUAL + + // Generated message map functions + //{{AFX_MSG(IvyWatcher) + // NOTE - the ClassWizard will add and remove member functions here. + //}}AFX_MSG + +// Implementation +protected: + Ivy * bus; + +}; + +///////////////////////////////////////////////////////////////////////////// + +//{{AFX_INSERT_LOCATION}} +// Microsoft Developer Studio will insert additional declarations immediately before the previous line. + +#endif // !defined(AFX_BUSWATCHER_H__F7F08FE7_E653_11D0_AE3E_080009F92591__INCLUDED_) -- cgit v1.1