Fairly big refactor...

This commit is contained in:
Your Name
2025-04-23 21:50:04 +12:00
parent 50e340f1c5
commit 9a3dd18525
24 changed files with 853 additions and 660 deletions

24
src/services.hpp Normal file
View File

@ -0,0 +1,24 @@
#ifndef SERVICES_HPP
#define SERVICES_HPP
#include <string>
#include <vector>
#include <set>
namespace dropshell {
struct ServiceInfo {
std::string path;
std::string service_name;
std::string template_name;
std::string template_path;
};
std::vector<ServiceInfo> get_server_services_info(const std::string& server_name);
ServiceInfo get_service_info(const std::string& server_name, const std::string& service_name);
std::set<std::string> get_used_commands(const std::string& server_name, const std::string& service_name);
} // namespace dropshell
#endif