MyExternalCmdExecDialog.cpp File Reference

#include <config.h>
#include "panoinc_WX.h"
#include "panoinc.h"
#include <errno.h>
#include "base_wx/wxPlatform.h"
#include "wx/ffile.h"
#include "wx/process.h"
#include "wx/mimetype.h"
#include <wx/sstream.h>
#include <sys/types.h>
#include <signal.h>
#include <unistd.h>
#include "MyExternalCmdExecDialog.h"
#include "hugin/config_defaults.h"

Include dependency graph for MyExternalCmdExecDialog.cpp:

Go to the source code of this file.

Functions

int MyExecuteCommandOnDialog (wxString command, wxString args, wxWindow *parent, wxString title, bool isQuoted)
 execute a single command in own dialog, redirect output to frame and allow canceling
int MyExecuteCommandQueue (HuginQueue::CommandQueue *queue, wxWindow *parent, const wxString &title, const wxString &comment)
 execute all commands in queue with redirection of output to frame and allow canceling the queue will be delete at the end, don't use it further


Detailed Description

Author:
Ippei UKAI <ippei_ukai@mac.com>
$Id$

This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU General Public License along with this software. If not, see <http://www.gnu.org/licenses/>.

Definition in file MyExternalCmdExecDialog.cpp.


Function Documentation

int MyExecuteCommandOnDialog ( wxString  command,
wxString  args,
wxWindow *  parent,
wxString  title,
bool  isQuoted 
)

execute a single command in own dialog, redirect output to frame and allow canceling

Definition at line 610 of file MyExternalCmdExecDialog.cpp.

References MyExecDialog::ExecWithRedirect(), and hugin_utils::wxQuoteFilename().

Referenced by CPExecute().

int MyExecuteCommandQueue ( HuginQueue::CommandQueue queue,
wxWindow *  parent,
const wxString &  title,
const wxString &  comment 
)

execute all commands in queue with redirection of output to frame and allow canceling the queue will be delete at the end, don't use it further

Definition at line 626 of file MyExternalCmdExecDialog.cpp.

References MyExecDialog::AddString(), and MyExecDialog::ExecQueue().

Referenced by MainFrame::RunAssistant().


Generated on 30 Aug 2015 for Hugintrunk by  doxygen 1.4.7