#include <libsig_comp.h>
#include <lib/base/object.h>
-class eConnection: public virtual iObject, public Connection
+class eConnection: public iObject, public Connection
{
- int ref;
+ DECLARE_REF(eConnection);
ePtr<iObject> m_owner;
public:
-DEFINE_REF(eConnection);
-public:
- eConnection(iObject *owner, const Connection &conn): Connection(conn), ref(0), m_owner(owner) { };
+ eConnection(iObject *owner, const Connection &conn): Connection(conn), m_owner(owner) { };
virtual ~eConnection() { disconnect(); }
};