예제 #1
0
 public void Close(EndCode code) {
     if(this.pluginClient != null) {
         try {
             this.pluginClient.Close(code);
         }
         catch(Exception exception) {
             PluginManager.HandlePluginException(exception, IntPtr.Zero, this.pluginInfo.Name, "Closing plugin.");
         }
         this.pluginClient = null;
     }
     this.pluginInfo = null;
 }
예제 #2
0
 public void Close(EndCode code)
 {
     if (this.pluginClient != null)
     {
         try {
             this.pluginClient.Close(code);
         }
         catch (Exception exception) {
             PluginManager.HandlePluginException(exception, IntPtr.Zero, this.pluginInfo.Name, "Closing plugin.");
         }
         this.pluginClient = null;
     }
     this.pluginInfo = null;
 }
예제 #3
0
 public Plugin(IPluginClient pluginClient, QTTabBarLib.PluginInformation pluginInfo) {
     this.pluginClient = pluginClient;
     this.pluginInfo = pluginInfo;
     this.fBackgroundButtonIsSupported = ((pluginInfo.PluginType == PluginType.Background) && ((pluginClient is IBarButton) || (pluginClient is IBarCustomItem))) || ((pluginInfo.PluginType == PluginType.BackgroundMultiple) && (pluginClient is IBarMultipleCustomItems));
 }
예제 #4
0
 public Plugin(IPluginClient pluginClient, QTTabBarLib.PluginInformation pluginInfo)
 {
     this.pluginClient = pluginClient;
     this.pluginInfo   = pluginInfo;
     this.fBackgroundButtonIsSupported = ((pluginInfo.PluginType == PluginType.Background) && ((pluginClient is IBarButton) || (pluginClient is IBarCustomItem))) || ((pluginInfo.PluginType == PluginType.BackgroundMultiple) && (pluginClient is IBarMultipleCustomItems));
 }