add Option.

This commit is contained in:
ykiko
2024-08-31 20:56:36 +08:00
parent 91bc14c129
commit e51c07b4e3
3 changed files with 43 additions and 0 deletions

15
include/Server/Option.h Normal file
View File

@@ -0,0 +1,15 @@
#pragma once
#include <string>
#include <string_view>
namespace clice {
struct Option {
std::string resource_dir;
static Option parse(std::string_view execpath, std::string_view filepath);
};
extern Option option;
} // namespace clice