ThePhD / infoware

C++ Library for pulling system and hardware information, without hitting the command line.
Creative Commons Zero v1.0 Universal
412 stars 85 forks source link

Device classes handling #16

Closed nabijaczleweli closed 5 years ago

nabijaczleweli commented 5 years ago

@ThePhD had some special handling for device classes (in so many words):

# Syntax:
# C class    class_name
#    subclass    subclass_name          <-- single tab
#        prog-if  prog-if_name      <-- two tabs

et al., but it's really inconsistent with everything else.

I've for now copied the special handling as-was, but I'm pretty sure we should either (a) bail once we get to that part, or (b) handle them differently.

nabijaczleweli commented 5 years ago

[18:05] ThePhD: We could probably use that information in some other way, one day. [18:05] ThePhD: But not now.