22
22
#include <config/libraries.h>
24
string sword_logic_get_path ();
24
std::string sword_logic_get_path ();
25
25
void sword_logic_refresh_module_list ();
26
string sword_logic_module_list_path ();
27
string sword_logic_get_source (string line);
28
string sword_logic_get_remote_module (string line);
29
string sword_logic_get_installed_module (string line);
30
string sword_logic_get_version (string line);
31
string sword_logic_get_name (string line);
32
void sword_logic_install_module_schedule (string source, string module);
33
void sword_logic_install_module (string source, string module);
34
void sword_logic_uninstall_module (string module);
35
vector <string> sword_logic_get_available ();
36
vector <string> sword_logic_get_installed ();
37
string sword_logic_get_text (string source, string module, int book, int chapter, int verse);
38
map <int, string> sword_logic_get_bulk_text (const string & module, int book, int chapter, vector <int> verses);
26
std::string sword_logic_module_list_path ();
27
std::string sword_logic_get_source (std::string line);
28
std::string sword_logic_get_remote_module (std::string line);
29
std::string sword_logic_get_installed_module (std::string line);
30
std::string sword_logic_get_version (std::string line);
31
std::string sword_logic_get_name (std::string line);
32
void sword_logic_install_module_schedule (std::string source, std::string module);
33
void sword_logic_install_module (std::string source, std::string module);
34
void sword_logic_uninstall_module (std::string module);
35
std::vector <std::string> sword_logic_get_available ();
36
std::vector <std::string> sword_logic_get_installed ();
37
std::string sword_logic_get_text (std::string source, std::string module, int book, int chapter, int verse);
38
std::map <int, std::string> sword_logic_get_bulk_text (const std::string & module, int book, int chapter, std::vector <int> verses);
39
39
void sword_logic_update_installed_modules ();
40
40
void sword_logic_trim_modules ();
41
string sword_logic_installing_module_text ();
42
string sword_logic_fetch_failure_text ();
43
string sword_logic_access_tracker (const string & module);
44
void sword_logic_run_scheduled_module_install (string source, string module);
41
std::string sword_logic_installing_module_text ();
42
std::string sword_logic_fetch_failure_text ();
43
std::string sword_logic_access_tracker (const std::string & module);
44
void sword_logic_run_scheduled_module_install (std::string source, std::string module);
45
45
void sword_logic_installmgr_initialize ();
46
46
bool sword_logic_installmgr_synchronize_configuration_with_master ();
47
void sword_logic_installmgr_list_remote_sources (vector <string> & sources);
48
bool sword_logic_installmgr_refresh_remote_source (string name);
49
void sword_logic_installmgr_list_remote_modules (string source_name, vector <string> & modules);
50
string sword_logic_diatheke (const string & module_name, const string& osis, int chapter, int verse, bool & available);
51
void sword_logic_log (string message);
52
string sword_logic_clean_verse (const string & module, int chapter, int verse, string text);
53
string sword_logic_get_resource_name (const string & source, const string & module);
47
void sword_logic_installmgr_list_remote_sources (std::vector <std::string> & sources);
48
bool sword_logic_installmgr_refresh_remote_source (std::string name);
49
void sword_logic_installmgr_list_remote_modules (std::string source_name, std::vector <std::string> & modules);
50
std::string sword_logic_diatheke (const std::string & module_name, const std::string& osis, int chapter, int verse, bool & available);
51
void sword_logic_log (std::string message);
52
std::string sword_logic_clean_verse (const std::string & module, int chapter, int verse, std::string text);
53
std::string sword_logic_get_resource_name (const std::string & source, const std::string & module);