~ubuntu-branches/ubuntu/trusty/hugin/trusty-proposed

« back to all changes in this revision

Viewing changes to src/hugin1/ptbatcher/BatchFrame.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2011-01-06 14:28:24 UTC
  • mfrom: (1.1.9 upstream) (0.1.21 experimental)
  • Revision ID: james.westby@ubuntu.com-20110106142824-zn9lxylg5z44dynn
* Drop Cyril Brulebois from Uploaders. Thank you very much for your work.
* Bump package version. (rc3 was re-released as 2010.4.0).

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#include "Batch.h"
32
32
#include "ProjectListBox.h"
33
33
#include "DirTraverser.h"
 
34
#ifdef __WXMSW__
 
35
#include "wx/msw/helpchm.h"
 
36
#endif
34
37
//#include <wx/app.h>
35
38
 
36
39
/** Simple class that forward the drop to the mainframe */
57
60
        void OnUserExit(wxCommandEvent &event);
58
61
        void OnButtonAddCommand(wxCommandEvent &event);
59
62
        void OnButtonAddDir(wxCommandEvent &event);
 
63
    void OnButtonSearchPano(wxCommandEvent &e);
60
64
        void OnButtonAddToList(wxCommandEvent &event);
61
65
        void OnButtonCancel(wxCommandEvent &event);
62
66
        void OnButtonChangePrefix(wxCommandEvent &event);
105
109
        /** return if verbose checkbox is checked */
106
110
        bool GetCheckVerbose() { return XRCCTRL(*this,"cb_verbose",wxCheckBox)->IsChecked();};
107
111
        void RestoreSize();
108
 
        void AddToList(wxString aFile);
 
112
    void AddToList(wxString aFile, Project::Target target=Project::STITCHING);
109
113
        void AddDirToList(wxString aDir);
110
114
        void ChangePrefix(int index,wxString newPrefix);
111
115
 
 
116
#ifdef __WXMSW__
 
117
    /** return help controller for open help */
 
118
    wxCHMHelpController& GetHelpController() { return m_msHtmlHelp; }
 
119
#endif
 
120
 
112
121
        //wxMutex* projListMutex;
113
122
        ProjectListBox *projListBox;
114
123
 
121
130
        bool m_closeThread; //included to signal the thread to finish execution
122
131
        //TO-DO: include a batch or project progress gauge? Test initialization commented out in constructor
123
132
        //wxGauge* m_gauge;
124
 
        wxHtmlHelpController * m_help;
 
133
#ifdef __WXMSW__
 
134
    wxCHMHelpController m_msHtmlHelp;
 
135
#else
 
136
    wxHtmlHelpController * m_help;
 
137
#endif
125
138
 
126
139
        void OnProcessTerminate(wxProcessEvent & event);
127
140
        /** called by thread when queue was changed outside of PTBatcherGUI
129
142
        void OnReloadBatch(wxCommandEvent &event);
130
143
        /** called by thread to update listbox */
131
144
        void OnUpdateListBox(wxCommandEvent &event);
 
145
    /** called when batch was finished and there are failed projects */
 
146
    void OnBatchFailed(wxCommandEvent &event);
132
147
 
133
148
        DECLARE_EVENT_TABLE()
134
149
        //PTPrograms progs;