a085650d723f1458c9b0017a9df9c69af03dc18f
[vuplus_dvbapp] / include / connection.h
1 #ifndef __connection_h
2 #define __connection_h
3
4 #include <libsig_comp.h>
5 #include <lib/base/object.h>
6
7 class eConnection: public virtual iObject, public Connection
8 {
9         int ref;
10         ePtr<iObject> m_owner;
11 public:
12 DEFINE_REF(eConnection);
13 public:
14         eConnection(iObject *owner, const Connection &conn): Connection(conn), m_owner(owner) { };
15         virtual ~eConnection() { disconnect(); }
16 };
17
18 #endif