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:
Simon Hausmann 2021-06-21 11:38:51 +02:00 committed by Simon Hausmann
parent 596912a521
commit 7f8f1b3105
6 changed files with 23 additions and 17 deletions

View file

@ -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