summaryrefslogtreecommitdiff
path: root/plugins/Irc/extlib
diff options
context:
space:
mode:
authorLuke Fitzgerald <lw.fitzgerald@googlemail.com>2010-07-09 04:18:19 -0700
committerLuke Fitzgerald <lw.fitzgerald@googlemail.com>2010-07-09 04:18:19 -0700
commit022e92ce5db9511938b6fc5ffca4a4ec87d551b7 (patch)
tree46ba877a58719e0f32f9eb60651dbce777d53826 /plugins/Irc/extlib
parent03670d21d46783daa0b161a28bcfa3d386448fa8 (diff)
Extended Async Processor to allow use of Statusnet driver
Diffstat (limited to 'plugins/Irc/extlib')
-rw-r--r--plugins/Irc/extlib/phergie/Phergie/Process/Statusnet.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/plugins/Irc/extlib/phergie/Phergie/Process/Statusnet.php b/plugins/Irc/extlib/phergie/Phergie/Process/Statusnet.php
new file mode 100644
index 000000000..cee2a6ffb
--- /dev/null
+++ b/plugins/Irc/extlib/phergie/Phergie/Process/Statusnet.php
@@ -0,0 +1,34 @@
+<?php
+/**
+ * StatusNet - the distributed open-source microblogging tool
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Extends the Async processor class (Phergie_Process_Async) to allow it to
+ * operate with the Statusnet driver
+ *
+ * @category Phergie
+ * @package Phergie_Process_Statusnet
+ * @author Luke Fitzgerald <lw.fitzgerald@googlemail.com
+ * @copyright 2010 StatusNet, Inc.
+ * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
+ * @link http://status.net/
+ */
+
+class Phergie_Process_Statusnet extends Phergie_Process_Async {
+ public function __constuct(Phergie_Extended_Bot $bot, array $options) {
+ $this->usec = 0;
+ Phergie_Process_Abstract::__construct($bot, $options);
+ }
+} \ No newline at end of file