Add new first argument to PlugletFactory.initialize(): the string that
is the path to the jar from which the pluglet is loaded. SECTION: Changes M classes/org/mozilla/pluglet/PlugletFactory.java M classes/org/mozilla/pluglet/PlugletFactoryAdaptor.java - Add new first argument to PlugletFactory.initialize(): the string that is the path to the jar from which the pluglet is loaded. M examples/MediaPlayer/JMPlayer.java M test/test.java - Account for new first argument M src/PlugletFactory.cpp - new JNI signature for initialize. git-svn-id: svn://10.0.0.236/trunk@215304 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -56,7 +56,7 @@ public interface PlugletFactory {
|
||||
* @param manager This is an instance of <code>PlugletManager</code> that is passed
|
||||
* to this method.
|
||||
*/
|
||||
public void initialize(PlugletManager manager);
|
||||
public void initialize(String plugletJarFileName, PlugletManager manager);
|
||||
/**
|
||||
* Called when the browser is done with a <code>PlugletFactory</code> instance. Normally
|
||||
* there is only one <code>PlugletFactory</code> instance.
|
||||
|
||||
@@ -26,7 +26,7 @@ public class PlugletFactoryAdaptor implements PlugletFactory {
|
||||
public Pluglet createPluglet(String mimeType) {
|
||||
return null;
|
||||
}
|
||||
public void initialize(PlugletManager manager) {
|
||||
public void initialize(String plugletPath, PlugletManager manager) {
|
||||
}
|
||||
public void shutdown() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user