示例#1
0
 /// <summary>
 /// Constructor - Creates a new ExtensionManager
 /// </summary>
 /// <param name="path"></param>
 /// <param name="settings"></param>
 public ExtensionManager() {
     deviceCount = 0;
     Lib = new ExtensionLibrary();
     Lib.Update();
     PresetBuilder = new Management.PresetBuilder(Lib);
     Instances = new Dictionary<int, ExtensionInstance>();
     CaptureInstance = null;
 }
示例#2
0
 public PresetBuilder(ExtensionLibrary lib)
 {
     this.lib = lib;
 }
 /// <summary>
 /// Initialize the Extensions
 /// </summary>
 /// <param name="lib"></param>
 public void InitActives(ExtensionLibrary lib)
 {
     if(Extensions != null) {
         Extensions.Init(lib);
         UpdateExtensionsDevId();
     }
 }