PanoDropTarget Class Reference

simple class that forward the drop to the mainframe More...

#include <MainFrame.h>

List of all members.

Public Member Functions

 PanoDropTarget (PT::Panorama &p, bool imageOnly=false)
bool OnDropFiles (wxCoord x, wxCoord y, const wxArrayString &filenames)
 file drag and drop handler method

Private Attributes

PT::Panoramapano
bool m_imageOnly


Detailed Description

simple class that forward the drop to the mainframe

Definition at line 64 of file MainFrame.h.


Constructor & Destructor Documentation

PanoDropTarget::PanoDropTarget ( PT::Panorama p,
bool  imageOnly = false 
) [inline]

Definition at line 67 of file MainFrame.h.

References m_imageOnly.


Member Function Documentation

bool PanoDropTarget::OnDropFiles ( wxCoord  x,
wxCoord  y,
const wxArrayString &  filenames 
)

file drag and drop handler method

Definition at line 123 of file MainFrame.cpp.

References CommandHistory::addCommand(), MainFrame::CloseProject(), containsInvalidCharacters(), DEBUG_TRACE, MainFrame::Get(), GlobalCmdHist::getInstance(), HUGIN_CONV_FILENAME, MainFrame::LoadProjectFile(), and ShowFilenameWarning().


Member Data Documentation

bool PanoDropTarget::m_imageOnly [private]

Definition at line 75 of file MainFrame.h.

Referenced by PanoDropTarget().

PT::Panorama& PanoDropTarget::pano [private]

Definition at line 74 of file MainFrame.h.


The documentation for this class was generated from the following files:
Generated on 25 Oct 2014 for Hugintrunk by  doxygen 1.4.7