#pragma once #include #include struct application_host { std::function quit = nullptr; std::function notify_channel_single_video = nullptr; std::function notify_channel_multiple_videos = nullptr; std::function notify_channels_multiple_videos = nullptr; }; void run_standalone(); void run_embedded(int pty_fd, application_host *host);