Give application to launch instead of reading conf

This commit is contained in:
Patrick Nicolas
2025-07-17 15:28:41 +02:00
parent 286268d2c6
commit 2f5496c06e
3 changed files with 53 additions and 64 deletions
+4 -5
View File
@@ -2,17 +2,16 @@
#include "wivrn_config.h"
#include <string>
#include <sys/types.h>
#include <vector>
namespace wivrn
{
struct configuration;
pid_t fork_application();
pid_t fork_application(const std::vector<std::string> & args);
#if WIVRN_USE_SYSTEMD
pid_t start_unit_file();
pid_t start_unit_file(const std::vector<std::string> & args);
#endif
int exec_application(configuration);
} // namespace wivrn