Esempio n. 1
0
 // init flags
 public void initFlag()
 {
     //plgdir = os.path.join(os.getcwd(), "Plugins/")
     if (ExtPlugin.exists(this.name))
     {
         this.isDetected = true;
         clr.AddReference(this.name);
         //print self.name + ".dll detected."
     }
     else
     {
         this.isDetected = false;
         Console.WriteLine(this.name + ".dll not found.");
     }
 }
Esempio n. 2
0
 public static object has_plugin(object pluginname)
 {
     return(ExtPlugin.exists(pluginname));
 }