23#include "utility/event/file_drop_event.hpp"
25namespace utility::event
32 FileDropEvent::Factory::~Factory(
void) =
default;
36 return std::make_unique<FileDropEvent>();
39 std::shared_ptr<FileDropEvent>
42 return std::make_unique<FileDropEvent>();
std::shared_ptr< FileDropEvent > createTyped(void) const
Create a strongly-typed FileDropEvent.
std::shared_ptr< Event > create(void) const override
Create a FileDropEvent as a base Event pointer.
~FileDropEvent(void) override
Default destructor.
std::size_t getCount(void) const noexcept
Get the number of dropped items.
FileDropEvent & setPaths(const std::vector< std::string > &paths)
Set the paths of dropped files/directories.
const std::vector< std::string > & getPaths(void) const noexcept
Get the paths of dropped files/directories.
FileDropEvent(void)
Default constructor.