X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=include%2Fconnection.h;h=5ae90d5bf834f1a202eca708fe3ed9d01f12f63a;hp=ae799c98675759332125810bfa09903eef520c84;hb=4bc08995411e21f3564f09e136809be68ddf96a8;hpb=6b7b7977a92c9a092763bf699cba85347f9f2ec6 diff --git a/include/connection.h b/include/connection.h index ae799c9..5ae90d5 100644 --- a/include/connection.h +++ b/include/connection.h @@ -6,11 +6,10 @@ class eConnection: public iObject, public Connection { - int ref; +DECLARE_REF; +private: ePtr m_owner; public: -DEFINE_REF(eConnection); -public: eConnection(iObject *owner, const Connection &conn): Connection(conn), m_owner(owner) { }; virtual ~eConnection() { disconnect(); } };