📄 platformmanagerplugindelegate.java
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space
// Source File Name: PlatformManagerPluginDelegate.java
package org.gudy.azureus2.platform;
import java.util.Properties;
import org.gudy.azureus2.platform.unix.PlatformManagerUnixPlugin;
import org.gudy.azureus2.platform.win32.PlatformManagerUpdateChecker;
import org.gudy.azureus2.plugins.*;
import org.gudy.azureus2.plugins.update.UpdatableComponent;
import org.gudy.azureus2.plugins.update.UpdateChecker;
// Referenced classes of package org.gudy.azureus2.platform:
// PlatformManager, PlatformManagerFactory
public class PlatformManagerPluginDelegate
implements Plugin, UpdatableComponent
{
public PlatformManagerPluginDelegate()
{
}
public void initialize(PluginInterface pluginInterface)
throws PluginException
{
PlatformManager platform = PlatformManagerFactory.getPlatformManager();
int platformType = platform.getPlatformType();
if (platformType == 1)
{
PlatformManagerUpdateChecker plugin = new PlatformManagerUpdateChecker();
plugin.initialize(pluginInterface);
} else
if (platformType == 4)
{
PlatformManagerUnixPlugin plugin = new PlatformManagerUnixPlugin();
plugin.initialize(pluginInterface);
} else
{
Properties pluginProperties = pluginInterface.getPluginProperties();
pluginProperties.setProperty("plugin.name", "Platform-Specific Support");
pluginProperties.setProperty("plugin.version", "1.0");
pluginProperties.setProperty("plugin.version.info", "Not required for this platform");
}
}
public String getName()
{
return "Mixin only";
}
public int getMaximumCheckTime()
{
return 0;
}
public void checkForUpdate(UpdateChecker updatechecker)
{
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -