#include <src/slic3r/GUI/Downloader.hpp>
◆ Download()
| Slic3r::GUI::Download::Download |
( |
int |
ID, |
|
|
std::string |
url, |
|
|
wxEvtHandler * |
evt_handler, |
|
|
const boost::filesystem::path & |
dest_folder |
|
) |
| |
77{
78 assert(boost::filesystem::is_directory(dest_folder));
80 m_file_get = std::make_shared<FileGet>(ID, std::move(url),
m_filename, evt_handler, dest_folder);
81}
const int m_id
Definition Downloader.hpp:47
boost::filesystem::path m_dest_folder
Definition Downloader.hpp:50
boost::filesystem::path m_final_path
Definition Downloader.hpp:49
std::string m_filename
Definition Downloader.hpp:48
std::shared_ptr< FileGet > m_file_get
Definition Downloader.hpp:51
std::string filename_from_url(const std::string &url)
Definition Downloader.cpp:63
References m_file_get, m_filename, and m_final_path.
◆ 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: