MyExternalCmdExecDialog.h File Reference

#include <hugin_shared.h>
#include <wx/utils.h>
#include "Executor.h"

Include dependency graph for MyExternalCmdExecDialog.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MyProcessListener
class  MyExecPanel
class  MyPipedProcess
class  MyExecDialog

Functions

WXIMPEX int MyExecuteCommandOnDialog (wxString command, wxString args, wxWindow *parent, wxString title, bool isQuoted=false)
 execute a single command in own dialog, redirect output to frame and allow canceling
WXIMPEX int MyExecuteCommandQueue (HuginQueue::CommandQueue *queue, wxWindow *parent, const wxString &title, const wxString &comment=wxEmptyString)
 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
 WX_DEFINE_ARRAY_PTR (MyPipedProcess *, MyProcessesArray)

Variables

const int HUGIN_EXIT_CODE_CANCELLED = -255


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.h.


Function Documentation

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

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

Definition at line 602 of file MyExternalCmdExecDialog.cpp.

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

Referenced by CPExecute().

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

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 618 of file MyExternalCmdExecDialog.cpp.

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

Referenced by MainFrame::RunAssistant().

WX_DEFINE_ARRAY_PTR ( MyPipedProcess ,
MyProcessesArray   
)


Variable Documentation

const int HUGIN_EXIT_CODE_CANCELLED = -255

Definition at line 34 of file MyExternalCmdExecDialog.h.

Referenced by AutoPanoKolor::automatch(), AutoPanoSift::automatch(), and MyExecDialog::OnProcessTerminate().


Generated on 27 Jul 2016 for Hugintrunk by  doxygen 1.4.7