mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
29 lines
526 B
C++
29 lines
526 B
C++
/*
|
|
* Copyright (c) 2024, Andrew Kaster <akaster@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Function.h>
|
|
#include <LibProtocol/RequestClient.h>
|
|
#include <LibURL/URL.h>
|
|
#include <QApplication>
|
|
|
|
namespace Ladybird {
|
|
|
|
class Application : public QApplication {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
Application(int& argc, char** argv);
|
|
|
|
virtual bool event(QEvent* event) override;
|
|
|
|
Function<void(URL::URL)> on_open_file;
|
|
RefPtr<Protocol::RequestClient> request_server_client;
|
|
};
|
|
|
|
}
|