fast check for autocomplete!
This commit is contained in:
@@ -43,7 +43,7 @@ class template_source_interface {
|
||||
virtual ~template_source_interface() {}
|
||||
virtual std::set<std::string> get_template_list() = 0;
|
||||
virtual bool has_template(const std::string& template_name) = 0;
|
||||
virtual template_info get_template_info(const std::string& template_name) = 0;
|
||||
virtual template_info get_template_info(const std::string& template_name, bool fast=false) = 0;
|
||||
virtual bool template_command_exists(const std::string& template_name,const std::string& command) = 0;
|
||||
|
||||
virtual std::string get_description() = 0;
|
||||
@@ -57,7 +57,7 @@ class template_source_registry : public template_source_interface {
|
||||
|
||||
std::set<std::string> get_template_list();
|
||||
bool has_template(const std::string& template_name);
|
||||
template_info get_template_info(const std::string& template_name);
|
||||
template_info get_template_info(const std::string& template_name, bool fast=false);
|
||||
bool template_command_exists(const std::string& template_name,const std::string& command);
|
||||
|
||||
std::string get_description() { return "Registry: " + mRegistry.name + " (" + mRegistry.url + ")"; }
|
||||
@@ -74,7 +74,7 @@ class template_source_local : public template_source_interface {
|
||||
~template_source_local() {}
|
||||
std::set<std::string> get_template_list();
|
||||
bool has_template(const std::string& template_name);
|
||||
template_info get_template_info(const std::string& template_name);
|
||||
template_info get_template_info(const std::string& template_name, bool fast=false);
|
||||
bool template_command_exists(const std::string& template_name,const std::string& command);
|
||||
|
||||
std::string get_description() { return "Local: " + mLocalPath.string(); }
|
||||
@@ -89,7 +89,7 @@ class template_manager {
|
||||
|
||||
std::set<std::string> get_template_list() const;
|
||||
bool has_template(const std::string& template_name) const;
|
||||
template_info get_template_info(const std::string& template_name) const;
|
||||
template_info get_template_info(const std::string& template_name, bool fast=false) const; // fast = don't check for updates.
|
||||
|
||||
bool template_command_exists(const std::string& template_name,const std::string& command) const;
|
||||
bool create_template(const std::string& template_name) const;
|
||||
|
||||
Reference in New Issue
Block a user