add plugin system
[xmlrtorrent.git] / xmlrtorrent / TalkerBase.pm
diff --git a/xmlrtorrent/TalkerBase.pm b/xmlrtorrent/TalkerBase.pm
new file mode 100644 (file)
index 0000000..d1fa7c8
--- /dev/null
@@ -0,0 +1,20 @@
+# (c) 2007 by Ralf Ertzinger <ralf@camperquake.de>
+# licensed under GNU GPL v2
+
+package xmlrtorrent::TalkerBase;
+use xmlrtorrent::Base;
+@ISA = qw(xmlrtorrent::Base);
+
+use strict;
+
+sub new {
+    my $class = shift;
+    my $self = $class->SUPER::new();
+
+    $self = {%{$self},
+            TYPE => 'talker',
+        };
+    return bless($self, $class);
+}
+
+1;