22 #ifndef FIFE_EVENTCHANNEL_DROPEVENT_H 23 #define FIFE_EVENTCHANNEL_DROPEVENT_H 98 virtual const std::string&
getName()
const {
99 const static std::string eventName(
"DropEvent");
void setPath(const std::string &path)
Sets the path for the file that is droped.
virtual IEventSource * getSource() const
Gets the source of the event.
virtual int32_t getTimeStamp() const
Gets the timestamp of the event.
virtual void setSource(IEventSource *source)
Sets the source of the event.
virtual bool isConsumed() const
Checks whether event is consumed.
virtual bool isConsumedByWidgets() const
Checks whether event is consumed by widget library.
virtual const std::string & getName() const
Gets the name of the event.
const std::string & getPath() const
Gets the path for the file that is droped.
virtual void setTimeStamp(int32_t timestamp)
Sets the timestamp of the event.
virtual void consumedByWidgets()
Marks events as consumed by widget library.
virtual void consume()
Marks events as consumed.
virtual std::string getDebugString() const
Gets the debugstring of the event.
Representation of event source (a thing sending events)
virtual ~DropEvent()
Destructor.