blob: 7836a90c7a62db1e45446e0c46e3ba0401f722e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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_)
|