summaryrefslogtreecommitdiff
path: root/includes/rcfeed/RCFeedEngine.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/rcfeed/RCFeedEngine.php')
-rw-r--r--includes/rcfeed/RCFeedEngine.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/includes/rcfeed/RCFeedEngine.php b/includes/rcfeed/RCFeedEngine.php
new file mode 100644
index 00000000..f733bcb7
--- /dev/null
+++ b/includes/rcfeed/RCFeedEngine.php
@@ -0,0 +1,12 @@
+<?php
+interface RCFeedEngine {
+ /**
+ * Sends some text to the specified live feed.
+ *
+ * @see RecentChange::cleanupForIRC
+ * @param array $feed The feed, as configured in an associative array.
+ * @param string $line The text to send.
+ * @return boolean success
+ */
+ public function send( array $feed, $line );
+}