mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 20:31:27 +00:00
API review: enable all features in the C++ docs (#5592)
And make sure that functions excluded when freestanding is enabled are included in the docs.
This commit is contained in:
parent
4de9cae583
commit
27dc6e53c0
3 changed files with 6 additions and 6 deletions
|
|
@ -1398,7 +1398,7 @@ void invoke_from_event_loop(Functor f)
|
|||
[](void *data) { delete reinterpret_cast<Functor *>(data); });
|
||||
}
|
||||
|
||||
#ifndef SLINT_FEATURE_FREESTANDING
|
||||
#if !defined(SLINT_FEATURE_FREESTANDING) || defined(DOXYGEN)
|
||||
|
||||
/// Blocking version of invoke_from_event_loop()
|
||||
///
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ public:
|
|||
|
||||
Image() : data(Data::ImageInner_None()) { }
|
||||
|
||||
#ifndef SLINT_FEATURE_FREESTANDING
|
||||
#if !defined(SLINT_FEATURE_FREESTANDING) || defined(DOXYGEN)
|
||||
/// Load an image from an image file
|
||||
[[nodiscard]] static Image load_from_path(const SharedString &file_path)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue