#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Downloader.hpp>
◆ Download()
| Slic3r::GUI::Download::Download |
( |
int | ID, |
|
|
std::string | url, |
|
|
wxEvtHandler * | evt_handler, |
|
|
const boost::filesystem::path & | dest_folder ) |
93{
94 assert(boost::filesystem::is_directory(dest_folder));
96 m_file_get = std::make_shared<FileGet>(ID, std::move(url),
m_filename, evt_handler, dest_folder);
97}
const int m_id
Definition Downloader.hpp:53
boost::filesystem::path m_dest_folder
Definition Downloader.hpp:56
boost::filesystem::path m_final_path
Definition Downloader.hpp:55
std::string m_filename
Definition Downloader.hpp:54
std::shared_ptr< FileGet > m_file_get
Definition Downloader.hpp:57
std::string filename_from_url(const std::string &url)
Definition Downloader.cpp:79
References m_dest_folder, m_file_get, m_filename, m_final_path, and m_id.
◆ cancel()
| void Slic3r::GUI::Download::cancel |
( |
| ) |
|
◆ get_dest_folder()
| std::string Slic3r::GUI::Download::get_dest_folder |
( |
| ) |
|
|
inline |
◆ get_filename()
| std::string Slic3r::GUI::Download::get_filename |
( |
| ) |
const |
|
inline |
◆ get_final_path()
| boost::filesystem::path Slic3r::GUI::Download::get_final_path |
( |
| ) |
const |
|
inline |
◆ get_id()
| int Slic3r::GUI::Download::get_id |
( |
| ) |
const |
|
inline |
◆ get_state()
◆ pause()
| void Slic3r::GUI::Download::pause |
( |
| ) |
|
◆ resume()
| void Slic3r::GUI::Download::resume |
( |
| ) |
|
◆ set_state()
◆ start()
| void Slic3r::GUI::Download::start |
( |
| ) |
|
◆ m_dest_folder
| boost::filesystem::path Slic3r::GUI::Download::m_dest_folder |
|
private |
◆ m_file_get
| std::shared_ptr<FileGet> Slic3r::GUI::Download::m_file_get |
|
private |
◆ m_filename
| std::string Slic3r::GUI::Download::m_filename |
|
private |
◆ m_final_path
| boost::filesystem::path Slic3r::GUI::Download::m_final_path |
|
private |
◆ m_id
| const int Slic3r::GUI::Download::m_id |
|
private |
◆ m_state
The documentation for this class was generated from the following files: