Changeset 256 for trunk/nv/root.hh
- Timestamp:
- 06/14/14 21:06:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv/root.hh
r215 r256 22 22 virtual void child_added( object* ) {} 23 23 virtual void child_removed( object* ) {} 24 virtual void object_created( object* o ); 25 virtual void object_destroyed( object* o ); 24 26 lua::state* get_lua_state() const { return m_lua_state; } 25 27 uid_store* get_uid_store() const { return m_uid_store; } 26 virtual ~root() { destroy_children(); } 28 virtual ~root() 29 { 30 object_destroyed( this ); 31 destroy_children(); 32 m_root = nullptr; 33 } 27 34 protected: 28 35 lua::state* m_lua_state;
Note: See TracChangeset
for help on using the changeset viewer.