mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-03 05:12:55 +00:00
C++ Platform: remove the experimental namespace
This commit is contained in:
parent
a29123a498
commit
116648ffcf
6 changed files with 37 additions and 54 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue