LibreOffice Module vcl (master) 1
WinDeviceInfo.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef INCLUDED_VCL_OPENGL_WIN_WINDEVICEINFO_HXX
11#define INCLUDED_VCL_OPENGL_WIN_WINDEVICEINFO_HXX
12
13#include <vcl/dllapi.h>
14
15#include <driverblocklist.hxx>
16
17#include <rtl/ustring.hxx>
18#include <vector>
19#include <cstdint>
20
22{
23private:
26
27 OUString maDriverDate;
28 OUString maDriverDate2;
29
30 OUString maDeviceID;
31 OUString maDeviceID2;
32
36
40
41 OUString maDeviceKey;
42 OUString maDeviceKey2;
43
46
48 bool mbRDP;
49
50 void GetData();
52
53public:
55
56 bool isDeviceBlocked();
57
58 const OUString& GetDriverVersion() const
59 {
60 return maDriverVersion;
61 }
62
63 const OUString& GetDriverDate() const
64 {
65 return maDriverDate;
66 }
67
68 const OUString& GetDeviceID() const
69 {
70 return maDeviceID;
71 }
72
73 const OUString& GetAdapterVendorID() const
74 {
75 return maAdapterVendorID;
76 }
77
78 const OUString& GetAdapterDeviceID() const
79 {
80 return maAdapterDeviceID;
81 }
82
83 const OUString& GetAdapterSubsysID() const
84 {
85 return maAdapterSubsysID;
86 }
87 const OUString& GetDeviceKey() const
88 {
89 return maDeviceKey;
90 }
91
92 const OUString& GetDeviceString() const
93 {
94 return maDeviceString;
95 }
96};
97
98#endif
99
100/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const OUString & GetAdapterDeviceID() const
const OUString & GetAdapterSubsysID() const
const OUString & GetDriverVersion() const
const OUString & GetDeviceKey() const
const OUString & GetDeviceString() const
const OUString & GetDeviceID() const
const OUString & GetDriverDate() const
const OUString & GetAdapterVendorID() const
#define VCL_DLLPUBLIC
Definition: dllapi.h:29
bool FindBlocklistedDeviceInList(std::vector< DriverInfo > &aDeviceInfos, VersionType versionType, std::u16string_view sDriverVersion, std::u16string_view sAdapterVendorID, OUString const &sAdapterDeviceID, OperatingSystem system, const OUString &blocklistURL)