AusweisApp2
 Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Propertys Freundbeziehungen Makrodefinitionen
UsbId.h
gehe zur Dokumentation dieser Datei
1 
5 #pragma once
6 
7 #include <QtGlobal>
8 
9 class QDebug;
10 
11 namespace governikus
12 {
13 
14 class UsbId
15 {
16  private:
17  unsigned int mVendorId;
18  unsigned int mProductId;
19 
20  public:
21  UsbId(unsigned int pVendorId = 0x0, unsigned int pProductId = 0x0);
22 
23  unsigned int getVendorId() const;
24  unsigned int getProductId() const;
25 
26  bool operator==(const UsbId& pOther) const;
27 };
28 
29 } /* namespace governikus */
30 
31 Q_DECLARE_TYPEINFO(governikus::UsbId, Q_PRIMITIVE_TYPE);
32 
33 QDebug operator <<(QDebug pDbg, const governikus::UsbId& pUsbId);
UsbId(unsigned int pVendorId=0x0, unsigned int pProductId=0x0)
Definition: UsbId.cpp:12
Definition: UsbId.h:14
QDebug operator<<(QDebug pDbg, const governikus::CVCertificate &pCvc)
Definition: CVCertificate.cpp:146
unsigned int getProductId() const
Definition: UsbId.cpp:26
bool operator==(const UsbId &pOther) const
Definition: UsbId.cpp:32
Q_DECLARE_TYPEINFO(governikus::AccessRight, Q_PRIMITIVE_TYPE)
unsigned int getVendorId() const
Definition: UsbId.cpp:20