Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
MyExternalCmdExecDialog.cpp File Reference
#include "hugin_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 <wx/tokenzr.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

 wxDEFINE_EVENT (EVT_QUEUE_PROGRESS, wxCommandEvent)
 
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 More...
 
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 More...
 

Detailed Description

Author
Ippei UKAI ippei.nosp@m._uka.nosp@m.i@mac.nosp@m..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 623 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 639 of file MyExternalCmdExecDialog.cpp.

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

Referenced by Papywizard::ImportPapywizardFile(), and MainFrame::RunAssistant().

wxDEFINE_EVENT ( EVT_QUEUE_PROGRESS  ,
wxCommandEvent   
)