This commit is contained in:
Your Name
2025-04-25 10:48:38 +12:00
parent 5dd4a9dce6
commit 5e8ec90064
25 changed files with 566 additions and 64 deletions

View File

@ -17,13 +17,11 @@ class template_info {
// if a template exists in both locations, the one in the user directory takes precedence.
// the template name is just the subfolder name in the templates directory.
// the template path is the path of that subfolder.
class template_manager {
public:
template_manager();
~template_manager();
bool get_templates(std::vector<template_info>& templates);
bool get_template_info(const std::string& name, template_info& info);
};
bool get_templates(std::vector<template_info>& templates);
bool get_template_info(const std::string& name, template_info& info);
bool template_command_exists(const std::string& template_name,const std::string& command);
void list_templates();
} // namespace dropshell