mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-20 06:59:47 +00:00
LibWeb: Enable EXPLICIT_SYMBOL_EXPORT
This commit is contained in:
parent
94a3a7d9a1
commit
3df8e00d91
Notes:
github-actions[bot]
2025-08-23 22:05:58 +00:00
Author: https://github.com/ayeteadoe
Commit: 3df8e00d91
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5229
Reviewed-by: https://github.com/ADKaster ✅
256 changed files with 728 additions and 512 deletions
|
@ -11,6 +11,7 @@
|
|||
#include <AK/Variant.h>
|
||||
#include <LibIPC/File.h>
|
||||
#include <LibIPC/Forward.h>
|
||||
#include <LibWeb/Export.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
|
@ -19,7 +20,7 @@ enum class AllowMultipleFiles {
|
|||
Yes,
|
||||
};
|
||||
|
||||
class SelectedFile {
|
||||
class WEB_API SelectedFile {
|
||||
public:
|
||||
static ErrorOr<SelectedFile> from_file_path(ByteString const& file_path);
|
||||
|
||||
|
@ -40,9 +41,9 @@ private:
|
|||
namespace IPC {
|
||||
|
||||
template<>
|
||||
ErrorOr<void> encode(Encoder&, Web::HTML::SelectedFile const&);
|
||||
WEB_API ErrorOr<void> encode(Encoder&, Web::HTML::SelectedFile const&);
|
||||
|
||||
template<>
|
||||
ErrorOr<Web::HTML::SelectedFile> decode(Decoder&);
|
||||
WEB_API ErrorOr<Web::HTML::SelectedFile> decode(Decoder&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue