X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=include%2Fconnection.h;h=870fd85b73682a72c90f19137ea89c8c581c82a5;hp=a085650d723f1458c9b0017a9df9c69af03dc18f;hb=27b36b78b0e7018a1e40b8943ebc2b1d021bfaa0;hpb=3bad22d5566624804a73b3791980bab2d84c8266 diff --git a/include/connection.h b/include/connection.h index a085650..870fd85 100644 --- a/include/connection.h +++ b/include/connection.h @@ -4,13 +4,11 @@ #include #include -class eConnection: public virtual iObject, public Connection +class eConnection: public iObject, public Connection { - int ref; + DECLARE_REF(eConnection); ePtr m_owner; public: -DEFINE_REF(eConnection); -public: eConnection(iObject *owner, const Connection &conn): Connection(conn), m_owner(owner) { }; virtual ~eConnection() { disconnect(); } };