Bringing back OSX support #69
Labels
cross-platform
Implement an already existent feature for another platform
good first issue
Good for newcomers
OSX
Issues related to OSX
HWinfo aims to provide a uniform API for Linux, Windows and OSX.
Since I do not have a device running OSX, it's development sluggish.
Bringing back OSX support is a great first task for passionated OSX developers of any levels of experience:
It teaches you the internal structure of HWinfo and enables you to contribute further improvements/ideas to its functionality later.
How to approach this task
Querying information of the hardware/system is heavily OS specific. In Order to provide a uniform API for different OSs, HWinfo is structured as follows:
src
directory (src/windows
,src/apple
,src/linux
). These folders contain the OS specific implementationssrc
to reduce redundancyGetting started
My recommended approach is the following:
"unknown"
for functions returningstd::string
and-1
for functions returningint
.Thank you for contributing!
The text was updated successfully, but these errors were encountered: