mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-15 20:24:46 +00:00
30 lines
638 B
Objective-C
30 lines
638 B
Objective-C
/*
|
|
* Copyright (c) 2023, Tim Flynn <trflynn89@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Error.h>
|
|
#include <AK/Vector.h>
|
|
#include <LibIPC/Forward.h>
|
|
#include <LibWebView/Forward.h>
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
namespace Ladybird {
|
|
class WebViewBridge;
|
|
}
|
|
|
|
@interface Application : NSApplication
|
|
|
|
- (instancetype)init;
|
|
|
|
- (ErrorOr<void>)launchRequestServer:(Vector<ByteString> const&)certificates;
|
|
- (ErrorOr<void>)launchImageDecoder;
|
|
- (ErrorOr<NonnullRefPtr<WebView::WebContentClient>>)launchWebContent:(Ladybird::WebViewBridge&)web_view_bridge;
|
|
- (ErrorOr<IPC::File>)launchWebWorker;
|
|
|
|
@end
|