25 #ifndef WLOADFINISHEDEVENT_H
26 #define WLOADFINISHEDEVENT_H
31 #include <boost/filesystem/path.hpp>
33 #include <QtCore/QEvent>
48 WLoadFinishedEvent( boost::filesystem::path filename, std::vector< std::string > errors, std::vector< std::string > warnings );
60 const std::vector< std::string >&
getErrors()
const;
67 const std::vector< std::string >&
getWarnings()
const;
Event signalling a finished asynchronous load job.
const std::vector< std::string > & getWarnings() const
Returns the list of warnings.
std::vector< std::string > m_errors
The error list.
const std::vector< std::string > & getErrors() const
Returns the list of errors.
WLoadFinishedEvent(boost::filesystem::path filename, std::vector< std::string > errors, std::vector< std::string > warnings)
Creates a new event instance denoting that a asynchronous load was finished.
virtual ~WLoadFinishedEvent()
Destructor.
std::string getFilename() const
The filename of the file loaded.
std::vector< std::string > m_warnings
The warnings list.
boost::filesystem::path m_filename
The filename of the file loaded.