public CommonDeviceInterface(int adapter, OutputRequirements baseReq, OutputRequirements minReq, string base_path) { this.adapter = adapter; this.outCaps = OutputCaps.GetAdapterCaps(adapter, baseReq.DeviceType, baseReq.DeviceFormat); this.minSettings = OutputSettings.CreateFromRequirements(baseReq, outCaps, minReq); rzManager = new NuGenSVisualLib.Resources.ResourceManager(); rzManager.AddSet(new NuGenSVisualLib.Resources.ResourceSet(GlobalResources)); log = new DirectFileLog(base_path + "general.log"); rzLoader = new RzLoader(); rzLoader.RegisterContentLoader(new ImageContentLoader()); }