Updated Worker Plugin interface
Added init and name methods, which will be common to all Plugins. Removed HandBrake specific methods.
This commit is contained in:
@@ -2,15 +2,14 @@
|
||||
|
||||
interface RippingCluster_Worker_IPlugin {
|
||||
|
||||
public static function init();
|
||||
|
||||
public static function name();
|
||||
|
||||
public static function workerFunctions();
|
||||
|
||||
public static function rip(GearmanJob $job);
|
||||
|
||||
public function evaluateOption($name, $option = null);
|
||||
|
||||
public function callbackStdout($id, $data);
|
||||
|
||||
public function callbackStderr($id, $data);
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user