Luna/gui/libui/include/ui/Dialog.h
2024-09-19 18:26:58 +02:00

23 lines
442 B
C++

/**
* @file Window.h
* @author apio (cloudapio.eu)
* @brief UI window dialogs.
*
* @copyright Copyright (c) 2024, the Luna authors.
*
*/
#pragma once
#include <os/Action.h>
#include <ui/Window.h>
namespace ui
{
namespace Dialog
{
Result<void> show_message(StringView title, StringView message);
Result<void> show_input_dialog(StringView title, StringView message, os::Function<StringView> callback);
}
}