mirror of
https://github.com/allankoechke/slint.git
synced 2026-12-01 01:26:57 +00:00
C++ Platform: remove the experimental namespace
This commit is contained in:
committed by
Olivier Goffart
parent
a29123a498
commit
116648ffcf
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user