… | |
… | |
41 | #define EVPP_H__ |
41 | #define EVPP_H__ |
42 | |
42 | |
43 | #ifdef EV_H |
43 | #ifdef EV_H |
44 | # include EV_H |
44 | # include EV_H |
45 | #else |
45 | #else |
46 | # include <ev.h> |
46 | # include "ev.h" |
47 | #endif |
47 | #endif |
48 | |
48 | |
49 | namespace ev { |
49 | namespace ev { |
50 | |
50 | |
51 | template<class ev_watcher, class watcher> |
51 | template<class ev_watcher, class watcher> |
… | |
… | |
206 | \ |
206 | \ |
207 | using base<ev_ ## cstem, cppstem>::set; \ |
207 | using base<ev_ ## cstem, cppstem>::set; \ |
208 | \ |
208 | \ |
209 | private: \ |
209 | private: \ |
210 | \ |
210 | \ |
211 | cppstem (const cppstem &o) \ |
211 | cppstem (const cppstem &o); \ |
212 | { /* disabled */ } \ |
|
|
213 | \ |
212 | \ |
214 | void operator =(const cppstem &o) { /* disabled */ } \ |
213 | cppstem & operator =(const cppstem &o); \ |
215 | \ |
214 | \ |
216 | public: |
215 | public: |
217 | |
216 | |
218 | #define EV_END_WATCHER(cppstem,cstem) \ |
217 | #define EV_END_WATCHER(cppstem,cstem) \ |
219 | }; |
218 | }; |