serenity/Userland/Games/Chess/NewGameWidget.h
dgaston 215d348600 Chess: Add new game widget
This change paves the way for adding options such as time controls and
variants when creating a new game.
2024-06-05 20:45:38 -04:00

23 lines
409 B
C++

/*
* Copyright (c) 2024, the SerenityOS developers
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGUI/Widget.h>
namespace Chess {
class NewGameWidget : public GUI::Widget {
C_OBJECT_ABSTRACT(NewGameWidget)
public:
static ErrorOr<NonnullRefPtr<NewGameWidget>> try_create();
virtual ~NewGameWidget() override = default;
private:
NewGameWidget() = default;
};
}