[Libufo-commits] ufo-0.5/include/ufo uobject.hpp,1.15,1.16
Status: Beta
Brought to you by:
schmidtjf
|
From: Johannes S. <sch...@us...> - 2005-09-15 10:22:53
|
Update of /cvsroot/libufo/ufo-0.5/include/ufo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23786/include/ufo Modified Files: uobject.hpp Log Message: Added automatic disconnection from signals if the object of an object slot is destroyed (only if object is derived from UObject). Interesting part is the IsDerivedFrom template (love it :). Implemented USlotNode::notify. Index: uobject.hpp =================================================================== RCS file: /cvsroot/libufo/ufo-0.5/include/ufo/uobject.hpp,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** uobject.hpp 31 Aug 2005 15:30:31 -0000 1.15 --- uobject.hpp 15 Sep 2005 10:22:44 -0000 1.16 *************** *** 168,171 **** --- 168,173 ---- namespace ufo { + class UObjectSlotNode; + /** @short This is the base class for all dynamic UFO objects. * @ingroup core *************** *** 176,179 **** --- 178,182 ---- class UFO_EXPORT UObject : public virtual UCollectable { UFO_DECLARE_CLASS(UObject) + friend struct UObjectSlotNode; public: UObject(); *************** *** 291,294 **** --- 294,298 ---- std::list<const UCollectable*> m_pointers; + std::list<UObjectSlotNode*> m_objectSlots; public: // Public Signals |