mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Hide Property<T> and PropertyTracker<T> from the public C++ API
Move those two classes into the private_api namespace, which is excluded from the API reference documentation. For generate code the explicit qualification of Property<T> is changed, for the cbindgen generated item types the private_api namespace is pulled into the cbindgen_private namespace.
This commit is contained in:
parent
596912a521
commit
7f8f1b3105
6 changed files with 23 additions and 17 deletions
|
@ -65,8 +65,6 @@ inline void sixtyfps_property_set_animated_binding_helper(
|
|||
handle, binding, user_data, drop_user_data, animation_data, transition_data);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
struct Property
|
||||
{
|
||||
|
@ -303,4 +301,6 @@ private:
|
|||
cbindgen_private::PropertyTrackerOpaque inner;
|
||||
};
|
||||
|
||||
} // namespace private_api
|
||||
|
||||
} // namespace sixtyfps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue