C++ Platform: remove the experimental namespace

This commit is contained in:
Olivier Goffart 2023-07-27 12:42:11 +02:00 committed by Olivier Goffart
parent a29123a498
commit 116648ffcf
6 changed files with 37 additions and 54 deletions

View file

@ -54,12 +54,10 @@ using cbindgen_private::TraversalOrder;
}
#if !defined(DOXYGEN)
namespace experimental {
namespace platform {
class SkiaRenderer;
class SoftwareRenderer;
}
}
#endif
namespace private_api {
@ -278,8 +276,8 @@ public:
const cbindgen_private::WindowAdapterRcOpaque &handle() const { return inner; }
private:
friend class slint::experimental::platform::SkiaRenderer;
friend class slint::experimental::platform::SoftwareRenderer;
friend class slint::platform::SkiaRenderer;
friend class slint::platform::SoftwareRenderer;
cbindgen_private::WindowAdapterRcOpaque inner;
};

View file

@ -28,12 +28,6 @@ typedef struct objc_object NSWindow;
namespace slint {
/// This namespace contains experimental API.
/// No compatibility across version.
///
/// \private
namespace experimental {
/// Namespace to be used when you implement your own Platform
namespace platform {
@ -492,7 +486,6 @@ inline std::optional<std::chrono::milliseconds> duration_until_next_timer_update
}
}
}
}
}
#endif