Hyprland/src/protocols/types/DataDevice.cpp

42 lines
589 B
C++
Raw Permalink Normal View History

2024-05-11 17:13:20 +01:00
#include "DataDevice.hpp"
bool IDataSource::hasDnd() {
return false;
}
bool IDataSource::dndDone() {
return false;
}
bool IDataSource::used() {
return m_wasUsed;
2024-05-11 17:13:20 +01:00
}
void IDataSource::markUsed() {
m_wasUsed = true;
2024-05-11 17:13:20 +01:00
}
eDataSourceType IDataSource::type() {
return DATA_SOURCE_TYPE_WAYLAND;
}
void IDataSource::sendDndFinished() {
;
}
uint32_t IDataSource::actions() {
return 7; // all
}
void IDataSource::sendDndDropPerformed() {
;
}
void IDataSource::sendDndAction(wl_data_device_manager_dnd_action a) {
;
}
void IDataOffer::markDead() {
;
}