Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::anonymous_namespace{AppUpdater.cpp} Namespace Reference

Functions

bool run_file (const boost::filesystem::path &path)
 
std::string get_downloads_path ()
 

Function Documentation

◆ get_downloads_path()

std::string Slic3r::anonymous_namespace{AppUpdater.cpp}::get_downloads_path ( )
89 {
90 wxString command = "xdg-user-dir DOWNLOAD";
91 wxArrayString output;
92 GUI::desktop_execute_get_result(command, output);
93 if (output.GetCount() > 0) {
94 return output[0].ToUTF8().data(); //lm:I would use wxString::ToUTF8(), although on Linux, nothing at all should work too.
95 }
96 return std::string();
97 }
Definition term.c:39

◆ run_file()

bool Slic3r::anonymous_namespace{AppUpdater.cpp}::run_file ( const boost::filesystem::path &  path)
84 {
85 return false;
86 }

References run_file().

Referenced by run_file().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: