diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-03 01:24:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-07 00:41:32 +0100 |
| commit | a52ccd4da36f22b33934c75c8f1c15daba4b4c00 (patch) | |
| tree | 89ff59f8b24ab72774c9edf4f67ec8c857d6d822 /src/lib/cross_osx.cc | |
| parent | 97254129aa39e8d06b0ff482e2b78c7ce33fa81b (diff) | |
Move OSXDisk out of common header.
Diffstat (limited to 'src/lib/cross_osx.cc')
| -rw-r--r-- | src/lib/cross_osx.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/cross_osx.cc b/src/lib/cross_osx.cc index ae5ec85c4..a8ac44240 100644 --- a/src/lib/cross_osx.cc +++ b/src/lib/cross_osx.cc @@ -204,6 +204,20 @@ start_player () } +struct OSXDisk +{ + std::string bsd_name; + std::string device; + boost::optional<std::string> vendor; + boost::optional<std::string> model; + std::vector<boost::filesystem::path> mount_points; + unsigned long size; + bool system; + bool writeable; + bool partition; +}; + + static optional<string> get_vendor (CFDictionaryRef& description) { |
