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
|
@ -53,7 +53,7 @@ TEST_CASE("Basic SharedVector API", "[vector]")
|
|||
|
||||
TEST_CASE("Property Tracker")
|
||||
{
|
||||
using namespace sixtyfps;
|
||||
using namespace sixtyfps::private_api;
|
||||
PropertyTracker tracker1;
|
||||
PropertyTracker tracker2;
|
||||
Property<int> prop(42);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue