ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/cfperl.h
(Generate patch)

Comparing deliantra/server/include/cfperl.h (file contents):
Revision 1.82 by root, Wed Jul 11 16:55:18 2007 UTC vs.
Revision 1.83 by root, Fri Jul 13 15:54:40 2007 UTC

209 attachable (const attachable &src) 209 attachable (const attachable &src)
210 : flags (0), refcnt (0), self (0), cb (0), attach (src.attach) 210 : flags (0), refcnt (0), self (0), cb (0), attach (src.attach)
211 { 211 {
212 } 212 }
213 213
214 virtual ~attachable ();
215
216 // set a custom key to the given value, or delete it if value = 0 214 // set a custom key to the given value, or delete it if value = 0
217 void set_key (const char *key, const char *value = 0); 215 void set_key (const char *key, const char *value = 0);
218 216
219 attachable &operator =(const attachable &src); 217 attachable &operator =(const attachable &src);
220 218
233 // do the real refcount checking work 231 // do the real refcount checking work
234 void do_check (); 232 void do_check ();
235 233
236 // the method that does the real destroy work 234 // the method that does the real destroy work
237 virtual void do_destroy (); 235 virtual void do_destroy ();
236
237 // destructor is protected, should not be called by anybody
238 virtual ~attachable ();
238}; 239};
239 240
240// the global object is a pseudo object that cares for the global events 241// the global object is a pseudo object that cares for the global events
241struct global : attachable 242struct global : attachable
242{ 243{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines