2024-02-01 20:58:44 +00:00
|
|
|
/**
|
|
|
|
* @file ipc/Launcher.h
|
|
|
|
* @author apio (cloudapio.eu)
|
|
|
|
* @brief IPC message definitions for UI messages sent to the launch server.
|
|
|
|
*
|
|
|
|
* @copyright Copyright (c) 2024, the Luna authors.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <os/IPC.h>
|
|
|
|
|
|
|
|
namespace os
|
|
|
|
{
|
|
|
|
namespace Launcher
|
|
|
|
{
|
|
|
|
enum ServerMessages : u8
|
|
|
|
{
|
|
|
|
IPC_ENUM_SERVER(launch),
|
|
|
|
LAUNCH_DETACHED_ID,
|
|
|
|
};
|
|
|
|
|
|
|
|
struct LaunchDetachedRequest
|
|
|
|
{
|
|
|
|
static constexpr u8 ID = LAUNCH_DETACHED_ID;
|
|
|
|
|
|
|
|
IPC_STRING(command);
|
2024-03-20 18:57:43 +00:00
|
|
|
bool search_in_path { false };
|
2024-02-01 20:58:44 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|