23 lines
442 B
C
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);
|
||
|
}
|
||
|
}
|