Add support for dropped text in osx

This commit is contained in:
Wilson Page 2016-07-14 18:21:39 +01:00
parent 43e9f30b21
commit 90f8a7e828
7 changed files with 27 additions and 1 deletions

View file

@ -68,6 +68,10 @@ void TrayIcon::NotifyDropFiles(const std::vector<std::string>& files) {
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnDropFiles(files));
}
void TrayIcon::NotifyDropText(const std::string& text) {
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnDropText(text));
}
void TrayIcon::NotifyDragEntered() {
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnDragEntered());
}