#include <addon.h>
|
void | make_wam (const std::string &folder_path) |
|
void | generate_torrent_info (const std::string &filepath) |
|
| Addon ()=default |
|
| Addon (const int64_t &id, const std::string &addon_name, const std::string &addon_version, const std::string &interface_version, const std::string &addon_note, const WoWVersion &wow_version) |
|
| Addon (const Json::Value &addon_json) |
|
|
std::string | get_path () const |
|
void | set_path (const std::string &path) |
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Definition at line 16 of file addon.h.
◆ WoWVersion
Enumerator |
---|
Retail | |
Classic | |
PTR | |
Invalid | |
Definition at line 19 of file addon.h.
◆ Addon() [1/3]
◆ Addon() [2/3]
Addon::Addon |
( |
const int64_t & |
id, |
|
|
const std::string & |
addon_name, |
|
|
const std::string & |
addon_version, |
|
|
const std::string & |
interface_version, |
|
|
const std::string & |
addon_note, |
|
|
const WoWVersion & |
wow_version |
|
) |
| |
◆ Addon() [3/3]
Addon::Addon |
( |
const Json::Value & |
addon_json | ) |
|
|
explicit |
◆ create_addon()
Addon Addon::create_addon |
( |
const std::string & |
addon_folder_path | ) |
|
|
static |
◆ generate_torrent_info()
void Addon::generate_torrent_info |
( |
const std::string & |
filepath | ) |
|
◆ get_addon_by_name()
Response< Addon > Addon::get_addon_by_name |
( |
const std::string & |
addon_name | ) |
|
|
static |
◆ get_installed_adddons()
std::vector< Addon > Addon::get_installed_adddons |
( |
const WoWVersion & |
wow_version | ) |
|
|
static |
◆ get_path()
std::string Addon::get_path |
( |
| ) |
const |
|
private |
◆ get_remote_addons()
◆ make_wam()
void Addon::make_wam |
( |
const std::string & |
folder_path | ) |
|
◆ serialize()
template<class Archive >
void Addon::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
inlineprivate |
◆ set_path()
void Addon::set_path |
( |
const std::string & |
path | ) |
|
|
private |
◆ wow_version_to_enum()
◆ wow_version_to_string()
std::string Addon::wow_version_to_string |
( |
const WoWVersion & |
wow_version | ) |
|
|
static |
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
output, |
|
|
const Addon & |
addon |
|
) |
| |
|
friend |
◆ m_addon_version
std::string Addon::m_addon_version |
◆ m_addonName
std::string Addon::m_addonName |
◆ m_description
std::string Addon::m_description |
◆ m_id
◆ m_interface_version
std::string Addon::m_interface_version |
◆ m_path
std::string Addon::m_path |
◆ m_torrent_info
std::string Addon::m_torrent_info |
◆ m_wow_version
The documentation for this class was generated from the following files:
- /home/jordan/Nextcloud/projects/wam/include/addon.h
- /home/jordan/Nextcloud/projects/wam/src/addon.cpp