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