LibreOffice Module vcl (master)  1
Classes | Namespaces | Macros | Enumerations | Functions | Variables
driverblocklist.hxx File Reference
#include <vcl/dllapi.h>
#include <xmlreader/xmlreader.hxx>
#include <string_view>
#include <vector>
Include dependency graph for driverblocklist.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DriverBlocklist::InvalidFileException
 
struct  DriverBlocklist::DriverInfo
 
class  DriverBlocklist::Parser
 

Namespaces

 DriverBlocklist
 

Macros

#define GFX_DRIVER_VERSION(a, b, c, d)    ((uint64_t(a) << 48) | (uint64_t(b) << 32) | (uint64_t(c) << 16) | uint64_t(d))
 

Enumerations

enum  DriverBlocklist::DeviceVendor {
  DriverBlocklist::VendorAll,
  DriverBlocklist::VendorIntel,
  DriverBlocklist::VendorNVIDIA,
  DriverBlocklist::VendorAMD,
  DriverBlocklist::VendorMicrosoft
}
 
enum  DriverBlocklist::OperatingSystem {
  DriverBlocklist::DRIVER_OS_UNKNOWN = 0,
  DriverBlocklist::DRIVER_OS_WINDOWS_7,
  DriverBlocklist::DRIVER_OS_WINDOWS_8,
  DriverBlocklist::DRIVER_OS_WINDOWS_8_1,
  DriverBlocklist::DRIVER_OS_WINDOWS_10,
  DriverBlocklist::DRIVER_OS_LINUX,
  DriverBlocklist::DRIVER_OS_OSX_10_5,
  DriverBlocklist::DRIVER_OS_OSX_10_6,
  DriverBlocklist::DRIVER_OS_OSX_10_7,
  DriverBlocklist::DRIVER_OS_OSX_10_8,
  DriverBlocklist::DRIVER_OS_ANDROID,
  DriverBlocklist::DRIVER_OS_ALL
}
 
enum  DriverBlocklist::VersionComparisonOp {
  DriverBlocklist::DRIVER_LESS_THAN,
  DriverBlocklist::DRIVER_LESS_THAN_OR_EQUAL,
  DriverBlocklist::DRIVER_GREATER_THAN,
  DriverBlocklist::DRIVER_GREATER_THAN_OR_EQUAL,
  DriverBlocklist::DRIVER_EQUAL,
  DriverBlocklist::DRIVER_NOT_EQUAL,
  DriverBlocklist::DRIVER_BETWEEN_EXCLUSIVE,
  DriverBlocklist::DRIVER_BETWEEN_INCLUSIVE,
  DriverBlocklist::DRIVER_BETWEEN_INCLUSIVE_START,
  DriverBlocklist::DRIVER_COMPARISON_IGNORED
}
 

Functions

bool DriverBlocklist::IsDeviceBlocked (const OUString &blocklistURL, const OUString &driverVersion, const OUString &vendorId, const OUString &deviceId)
 
DeviceVendor DriverBlocklist::GetVendorFromId (uint32_t id)
 Returns vendor for the given vendor ID, or VendorAll if not known. More...
 
std::string_view DriverBlocklist::GetVendorNameFromId (uint32_t id)
 
OUString DriverBlocklist::GetVendorId (DeviceVendor id)
 
bool DriverBlocklist::FindBlocklistedDeviceInList (std::vector< DriverInfo > &aDeviceInfos, OUString const &sDriverVersion, OUString const &sAdapterVendorID, OUString const &sAdapterDeviceID, OperatingSystem system, const OUString &blocklistURL)
 
uint64_t DriverBlocklist::V (uint32_t a, uint32_t b, uint32_t c, uint32_t d)
 

Variables

const int DriverBlocklist::DeviceVendorMax = VendorMicrosoft + 1
 

Macro Definition Documentation

#define GFX_DRIVER_VERSION (   a,
  b,
  c,
  d 
)    ((uint64_t(a) << 48) | (uint64_t(b) << 32) | (uint64_t(c) << 16) | uint64_t(d))

Definition at line 136 of file driverblocklist.hxx.

Referenced by DriverBlocklist::ParseDriverVersion(), and DriverBlocklist::V().