libiqxmlrpc  0.12.4
 All Classes Namespaces Files Functions Typedefs Enumerations
reactor_interrupter.h
1 // Libiqxmlrpc - an object-oriented XML-RPC solution.
2 // Copyright (C) 2011 Anton Dedov
3 
4 #ifndef _iqxmlrpc_reactor_interrupter_h_
5 #define _iqxmlrpc_reactor_interrupter_h_
6 
7 #include "reactor.h"
8 
9 #include <boost/utility.hpp>
10 
11 namespace iqnet {
12 
13 #ifdef _MSC_VER
14 #pragma warning(push)
15 #pragma warning(disable: 4275)
16 #endif
17 
18 class LIBIQXMLRPC_API Reactor_interrupter: boost::noncopyable {
19 public:
22 
23  void make_interrupt();
24 
25 private:
26  class Impl;
27  Impl* impl_;
28 };
29 
30 #ifdef _MSC_VER
31 #pragma warning(pop)
32 #endif
33 
34 } // namespace iqnet
35 
36 #endif