#include "huginConfig.h"
#include "hugin_version.h"
#include "hugin/config_defaults.h"
#include "platform.h"
Include dependency graph for huginConfig.cpp:

Go to the source code of this file.
Typedefs | |
| typedef std::map< wxString, wxString > | Placeholdersmap |
Functions | |
| std::string | getProgram (wxConfigBase *config, wxString bindir, wxString file, wxString name) throw (wxString) |
| PTPrograms | getPTProgramsConfig (wxString bundledBinDir, wxConfigBase *config) |
| AssistantPrograms | getAssistantProgramsConfig (wxString bundledBinDir, wxConfigBase *config) |
| wxString | getExePath (wxString argv0) |
| get the path to the directory where the currently running executable is stored. | |
| void | FillDefaultPlaceholders (Placeholdersmap &placeholder) |
| void | FillPlaceholders (Placeholdersmap &placeholder, const HuginBase::Panorama &pano) |
| wxString | getDefaultProjectName (const HuginBase::Panorama &pano, const wxString filenameTemplate) |
| gets the default project name, as defined in the preferences | |
| wxString | getDefaultOutputName (const wxString projectname, const HuginBase::Panorama &pano, const wxString filenameTemplate) |
| gets the default output prefix, based on filename and images in project the setting is read from the preferences | |
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License along with this software; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Definition in file huginConfig.cpp.
|
|
Definition at line 284 of file huginConfig.cpp. Referenced by getDefaultOutputName(), and getDefaultProjectName(). |
|
|
Definition at line 286 of file huginConfig.cpp. Referenced by getDefaultOutputName(), and getDefaultProjectName(). |
|
||||||||||||
|
Definition at line 302 of file huginConfig.cpp. References HuginBase::SrcPanoImage::getExifDateTime(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptions(), and HuginBase::PanoramaOptions::getProjection(). Referenced by getDefaultOutputName(), and getDefaultProjectName(). |
|
||||||||||||
|
||||||||||||||||
|
gets the default output prefix, based on filename and images in project the setting is read from the preferences
Definition at line 379 of file huginConfig.cpp. References FillDefaultPlaceholders(), FillPlaceholders(), getDefaultProjectName(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), HUGIN_DEFAULT_PROJECT_NAME, and Placeholdersmap. Referenced by PanoPanel::DoSendToBatch(), PanoPanel::DoStitch(), PreferencesDialog::OnUpdateOutputFilename(), and Project::ReadOptions(). |
|
||||||||||||
|
gets the default project name, as defined in the preferences
Definition at line 339 of file huginConfig.cpp. References FillDefaultPlaceholders(), FillPlaceholders(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), HUGIN_DEFAULT_PROJECT_NAME, and Placeholdersmap. Referenced by getDefaultOutputName(), PossiblePano::GetNewProjectFilename(), MainFrame::OnSaveProjectAs(), MainFrame::OnSavePTStitcherAs(), and PreferencesDialog::OnUpdateProjectFilename(). |
|
|
get the path to the directory where the currently running executable is stored. Should work well on Windows, might work on OSX and does not work on Unix. Definition at line 258 of file huginConfig.cpp. References makefile::path. Referenced by Batch::Batch(), CanStartProg(), PanoPanel::DoSendToBatch(), EVT_LIST_ITEM_ACTIVATED(), getGNUMakeCmd(), GetProgPath(), BatchFrame::OnButtonOpenWithHugin(), LensCalApp::OnInit(), huginApp::OnInit(), nonaApp::OnInit(), stitchApp::OnInit(), MainFrame::OnOpenPTBatcher(), and MainFrame::OnSendToAssistantQueue(). |
|
||||||||||||||||||||
|
Definition at line 36 of file huginConfig.cpp. References hugin_utils::FileExists(), and HUGIN_CONV_FILENAME. Referenced by getAssistantProgramsConfig(), and getPTProgramsConfig(). |
|
||||||||||||
1.3.9.1