mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
55fe04a6fa
This commit ports the chess application to GML in order to facilitate the addition of widgets in the future.
23 lines
394 B
C++
23 lines
394 B
C++
/*
|
|
* Copyright (c) 2024, the SerenityOS developers
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibGUI/Widget.h>
|
|
|
|
namespace Chess {
|
|
|
|
class MainWidget : public GUI::Widget {
|
|
C_OBJECT_ABSTRACT(MainWidget)
|
|
public:
|
|
static ErrorOr<NonnullRefPtr<MainWidget>> try_create();
|
|
virtual ~MainWidget() override = default;
|
|
|
|
private:
|
|
MainWidget() = default;
|
|
};
|
|
|
|
}
|