fixed default and mainmenu
[enigma2.git] / 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 iObject, public Connection
8 {
9 DECLARE_REF(eConnection);
10 private:
11         ePtr<iObject> m_owner;
12 public:
13         eConnection(iObject *owner, const Connection &conn): Connection(conn), m_owner(owner) { };
14         virtual ~eConnection() { disconnect(); }
15 };
16
17 #endif