diff options
-rw-r--r-- | vcl/inc/opengl/win/WinDeviceInfo.hxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/vcl/inc/opengl/win/WinDeviceInfo.hxx b/vcl/inc/opengl/win/WinDeviceInfo.hxx index 3b049fb0d713..662967fd2384 100644 --- a/vcl/inc/opengl/win/WinDeviceInfo.hxx +++ b/vcl/inc/opengl/win/WinDeviceInfo.hxx @@ -75,8 +75,15 @@ enum DeviceVendor { struct DriverInfo { - DriverInfo(OperatingSystem os, const OUString& vendor, VersionComparisonOp op, - uint64_t driverVersion, bool bWhiteListed = false, const char *suggestedVersion = nullptr); + typedef std::vector<OUString> DeviceFamilyVector; + + // If |ownDevices| is true, you are transferring ownership of the devices + // array, and it will be deleted when this GfxDriverInfo is destroyed. + + DriverInfo(OperatingSystem os, const OUString& vendor, DeviceFamilyVector* devices, + VersionComparisonOp op, + uint64_t driverVersion, bool bWhiteListed = false, const char *suggestedVersion = nullptr, + bool ownDevices = false); DriverInfo(); DriverInfo(const DriverInfo&); |