… | |
… | |
211 | { |
211 | { |
212 | } |
212 | } |
213 | |
213 | |
214 | virtual ~attachable (); |
214 | virtual ~attachable (); |
215 | |
215 | |
|
|
216 | // 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); |
|
|
218 | |
216 | attachable &operator =(const attachable &src); |
219 | attachable &operator =(const attachable &src); |
217 | |
220 | |
218 | // used to _quickly_ device wether to shortcut the evaluation |
221 | // used to _quickly_ device wether to shortcut the evaluation |
219 | bool should_invoke (event_type event) |
222 | bool should_invoke (event_type event) |
220 | { |
223 | { |