2023-08-20 16:14:31 -04:00
|
|
|
/*
|
2025-03-20 12:59:44 -04:00
|
|
|
* Copyright (c) 2023-2025, Tim Flynn <trflynn89@ladybird.org>
|
2023-08-20 16:14:31 -04:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2024-04-15 17:39:48 -06:00
|
|
|
#include <AK/Error.h>
|
2024-04-17 18:44:39 -06:00
|
|
|
#include <LibIPC/Forward.h>
|
2024-07-30 14:01:05 -04:00
|
|
|
#include <LibMain/Main.h>
|
2024-04-15 17:39:48 -06:00
|
|
|
#include <LibWebView/Forward.h>
|
|
|
|
|
|
2024-07-16 23:54:53 -06:00
|
|
|
#import <Cocoa/Cocoa.h>
|
2023-08-20 16:14:31 -04:00
|
|
|
|
2024-04-15 17:39:48 -06:00
|
|
|
namespace Ladybird {
|
2025-05-13 07:06:33 -04:00
|
|
|
|
2024-04-15 17:39:48 -06:00
|
|
|
class WebViewBridge;
|
2025-05-13 07:06:33 -04:00
|
|
|
|
2024-04-15 17:39:48 -06:00
|
|
|
}
|
|
|
|
|
|
2023-08-20 16:14:31 -04:00
|
|
|
@interface Application : NSApplication
|
|
|
|
|
|
2025-03-20 12:59:44 -04:00
|
|
|
- (void)setupWebViewApplication:(Main::Arguments&)arguments;
|
2024-11-13 15:33:02 -05:00
|
|
|
- (ErrorOr<void>)launchServices;
|
2024-04-15 17:39:48 -06:00
|
|
|
|
2023-08-20 16:14:31 -04:00
|
|
|
@end
|