aboutsummaryrefslogtreecommitdiff
path: root/include/connection.h
blob: a085650d723f1458c9b0017a9df9c69af03dc18f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __connection_h
#define __connection_h

#include <libsig_comp.h>
#include <lib/base/object.h>

class eConnection: public virtual iObject, public Connection
{
	int ref;
	ePtr<iObject> m_owner;
public:
DEFINE_REF(eConnection);
public:
	eConnection(iObject *owner, const Connection &conn): Connection(conn), m_owner(owner) { };
	virtual ~eConnection() { disconnect(); }
};

#endif