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

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