1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:57:44 +00:00

GameOfLife: Use the GML compiler

This commit is contained in:
Tim Ledbetter 2023-09-27 23:28:49 +01:00 committed by Andreas Kling
parent 3930702bd2
commit 649c7ee11f
4 changed files with 29 additions and 9 deletions

View file

@ -0,0 +1,23 @@
/*
* Copyright (c) 2023, Tim Ledbetter <timledbetter@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGUI/Widget.h>
namespace GameOfLife {
class MainWidget : public GUI::Widget {
C_OBJECT_ABSTRACT(MainWidget)
public:
static ErrorOr<NonnullRefPtr<MainWidget>> try_create();
virtual ~MainWidget() override = default;
private:
MainWidget() = default;
};
}