aboutsummaryrefslogtreecommitdiff
path: root/include/connection.h
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2003-10-17 15:36:42 +0000
committerFelix Domke <tmbinc@elitedvb.net>2003-10-17 15:36:42 +0000
commitd63d2c3c6cbbd574dda4f8b00ebe6c661735edd5 (patch)
tree84d0cacfd0b6c1241c236c7860f7cbd7f26901bb /include/connection.h
downloadenigma2-d63d2c3c6cbbd574dda4f8b00ebe6c661735edd5.tar.gz
enigma2-d63d2c3c6cbbd574dda4f8b00ebe6c661735edd5.zip
import of enigma2
Diffstat (limited to 'include/connection.h')
-rw-r--r--include/connection.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/connection.h b/include/connection.h
new file mode 100644
index 00000000..3ccaec19
--- /dev/null
+++ b/include/connection.h
@@ -0,0 +1,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