mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 12:24:16 +00:00
slint: Change Platform.os to return a new enum OperatingSystemType (#8679)
* slint: Change Platform.os to return a new enum OperatingSystemType cc #8631
This commit is contained in:
parent
2d6ebc7df7
commit
06a19e59ad
9 changed files with 61 additions and 43 deletions
|
|
@ -91,13 +91,6 @@ inline void debug(const SharedString &str)
|
|||
cbindgen_private::slint_debug(&str);
|
||||
}
|
||||
|
||||
inline SharedString detect_operating_system()
|
||||
{
|
||||
SharedString result;
|
||||
cbindgen_private::slint_detect_operating_system(&result);
|
||||
return result;
|
||||
}
|
||||
|
||||
} // namespace private_api
|
||||
|
||||
namespace cbindgen_private {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue