29 #include <wx/string.h> 
   30 #include <wx/config.h> 
   40         NormalCommand(wxString prog, wxString args, wxString comment=wxEmptyString) : m_prog(prog), m_args(args), m_comment(comment) {};
 
   42         virtual bool Execute(
bool dryRun);
 
   43         virtual bool CheckReturnCode() 
const;
 
   44         virtual wxString GetCommand() 
const;
 
   45         wxString GetComment() 
const;
 
   57         virtual bool Execute(
bool dryRun);
 
   58         virtual bool CheckReturnCode() 
const;
 
   84         return str(
"\"") + arg + str(
"\"");
 
   93     WXIMPEX wxString MSWGetProgname(
const wxString& bindir, 
const wxString& name);
 
   97     WXIMPEX const wxString 
GetSettingString(wxConfigBase* setting, 
const wxString& name, 
const wxString defaultValue = wxEmptyString);
 
const wxString GetSettingString(wxConfigBase *setting, const wxString &name, const wxString defaultValue)
read a string from setting and remove all whitespaces 
normal command for queue, processing is stopped if an error occurred in program 
str wxQuoteStringInternal(const str &arg, const str "echar, const str &replacements)
const wxString GetConfigTempDir(const wxConfigBase *config)
return the temp dir from the preferences, ensure that it ends with path separator ...
optional command for queue, processing of queue is always continued, also if an error occurred ...
wxString GetInternalProgram(const wxString &bindir, const wxString &name)
return path and name of external program, which comes bundled with Hugin 
OptionalCommand(wxString prog, wxString args, wxString comment=wxEmptyString)
bool RunCommandsQueue(CommandQueue *queue, size_t threads, bool dryRun)
execute the given, set environment variable OMP_NUM_THREADS to threads (ignored for 0) after running ...
NormalCommand(wxString prog, wxString args, wxString comment=wxEmptyString)
void CleanQueue(CommandQueue *queue)
clean the queue, delete all entries, but not the queue itself 
const wxString GetSettingStringTranslated(wxConfigBase *setting, const wxString &name, const wxString defaultValue)
read a translated string from settings and remove all whitespaces 
str wxEscapeFilename(const str &arg)
special escaping routine for CommandQueues 
wxString GetExternalProgram(wxConfigBase *config, const wxString &bindir, const wxString &name)
return path and name of external program, which can be overwritten by the user 
std::vector< NormalCommand * > CommandQueue
wxString wxStringFromCDouble(double val, int precision)
convert double to wxString, it is always using a '.