win: Add "balloon-show" and "balloon-closed" events
This commit is contained in:
parent
ee3fa67c48
commit
9f99209733
8 changed files with 31 additions and 8 deletions
|
@ -31,8 +31,16 @@ void TrayIcon::NotifyDoubleClicked() {
|
|||
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnDoubleClicked());
|
||||
}
|
||||
|
||||
void TrayIcon::NotifyBalloonShow() {
|
||||
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnBalloonShow());
|
||||
}
|
||||
|
||||
void TrayIcon::NotifyBalloonClicked() {
|
||||
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnBalloonClicked());
|
||||
}
|
||||
|
||||
void TrayIcon::NotifyBalloonClosed() {
|
||||
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnBalloonClosed());
|
||||
}
|
||||
|
||||
} // namespace atom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue