Numworks Epsilon  1.4.1
Graphing Calculator Operating System
microsoft_os_string_descriptor.h
Go to the documentation of this file.
1 #ifndef ION_DEVICE_USB_STACK_MICROSOFT_OS_STRING_DESCRIPTOR_H
2 #define ION_DEVICE_USB_STACK_MICROSOFT_OS_STRING_DESCRIPTOR_H
3 
4 #include "string_descriptor.h"
5 
6 namespace Ion {
7 namespace USB {
8 namespace Device {
9 
11 public:
12  constexpr MicrosoftOSStringDescriptor(uint8_t bMSVendorCode) :
13  StringDescriptor("MSFT100"),
14  m_bMSVendorCode(bMSVendorCode),
15  m_bPad(0)
16  {
17  }
18 protected:
19  void push(Channel * c) const override;
20  virtual uint8_t bLength() const override;
21 private:
22  uint8_t m_bMSVendorCode;
23  uint8_t m_bPad;
24 };
25 
26 }
27 }
28 }
29 
30 #endif
unsigned char uint8_t
Definition: stdint.h:4
c(generic_all_nodes)
Definition: app.cpp:5
Definition: backlight.h:6