mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 08:06:09 +00:00
23 lines
516 B
C++
23 lines
516 B
C++
#pragma once
|
|
|
|
#include "Calendar.h"
|
|
#include <LibGUI/Dialog.h>
|
|
#include <LibGUI/Window.h>
|
|
|
|
class AddEventDialog final : public GUI::Dialog {
|
|
C_OBJECT(AddEventDialog)
|
|
public:
|
|
virtual ~AddEventDialog() override;
|
|
|
|
static void show(Calendar* calendar, Window* parent_window = nullptr)
|
|
{
|
|
auto dialog = AddEventDialog::construct(calendar, parent_window);
|
|
dialog->exec();
|
|
}
|
|
|
|
private:
|
|
AddEventDialog(Calendar* calendar, Window* parent_window = nullptr);
|
|
|
|
Calendar* m_calendar;
|
|
};
|