ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/iom.h
(Generate patch)

Comparing rxvt-unicode/src/iom.h (file contents):
Revision 1.7 by pcg, Sat Jan 17 01:20:01 2004 UTC vs.
Revision 1.8 by pcg, Sat Jan 17 14:10:40 2004 UTC

156 void start (tstamp when) { set (when); iom.reg (this); } 156 void start (tstamp when) { set (when); iom.reg (this); }
157 void stop () { iom.unreg (this); } 157 void stop () { iom.unreg (this); }
158 158
159 template<class O1, class O2> 159 template<class O1, class O2>
160 time_watcher (O1 *object, void (O2::*method)(time_watcher &)) 160 time_watcher (O1 *object, void (O2::*method)(time_watcher &))
161 : callback1<void, time_watcher &>(object,method) 161 : callback1<void, time_watcher &>(object,method), at(0)
162 { } 162 { }
163 ~time_watcher () { stop (); } 163 ~time_watcher () { stop (); }
164}; 164};
165#endif 165#endif
166 166

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines