DVD: Solve chapter zap by number
[openblackhole/openblackhole-enigma2.git] / include / connection.h
index ae799c9..870fd85 100644 (file)
@@ -6,11 +6,9 @@
 
 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), m_owner(owner) { };
        virtual ~eConnection() { disconnect(); }
 };