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 <opengl/DeviceInfo.hxx>
16 #include <driverblocklist.hxx>
17 
18 #include <rtl/ustring.hxx>
19 #include <vector>
20 #include <cstdint>
21 
23 {
24 private:
25  OUString maDriverVersion;
26  OUString maDriverVersion2;
27 
28  OUString maDriverDate;
29  OUString maDriverDate2;
30 
31  OUString maDeviceID;
32  OUString maDeviceID2;
33 
37 
41 
42  OUString maDeviceKey;
43  OUString maDeviceKey2;
44 
45  OUString maDeviceString;
46  OUString maDeviceString2;
47 
49  bool mbRDP;
50 
51  void GetData();
53 
54 public:
56 
57  virtual ~WinOpenGLDeviceInfo() override;
58 
59  virtual bool isDeviceBlocked() override;
60 
61  const OUString& GetDriverVersion() const
62  {
63  return maDriverVersion;
64  }
65 
66  const OUString& GetDriverDate() const
67  {
68  return maDriverDate;
69  }
70 
71  const OUString& GetDeviceID() const
72  {
73  return maDeviceID;
74  }
75 
76  const OUString& GetAdapterVendorID() const
77  {
78  return maAdapterVendorID;
79  }
80 
81  const OUString& GetAdapterDeviceID() const
82  {
83  return maAdapterDeviceID;
84  }
85 
86  const OUString& GetAdapterSubsysID() const
87  {
88  return maAdapterSubsysID;
89  }
90  const OUString& GetDeviceKey() const
91  {
92  return maDeviceKey;
93  }
94 
95  const OUString& GetDeviceString() const
96  {
97  return maDeviceString;
98  }
99 };
100 
101 #endif
102 
103 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#define VCL_DLLPUBLIC
Definition: dllapi.h:29
const OUString & GetAdapterDeviceID() const
const OUString & GetDeviceID() const
const OUString & GetDriverVersion() const
const OUString & GetDeviceKey() const
virtual bool isDeviceBlocked()=0
const OUString & GetDriverDate() const
const OUString & GetAdapterSubsysID() const
bool FindBlocklistedDeviceInList(std::vector< DriverInfo > &aDeviceInfos, OUString const &sDriverVersion, OUString const &sAdapterVendorID, OUString const &sAdapterDeviceID, OperatingSystem system, const OUString &blocklistURL)
const OUString & GetAdapterVendorID() const
const OUString & GetDeviceString() const