Skip to content

Commit f7a67ce

Browse files
Added TrayIntegrationProvider
1 parent d0176dd commit f7a67ce

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package org.cryptomator.integrations.tray;
2+
3+
public interface TrayIntegrationProvider {
4+
5+
/**
6+
* Performs tasks required when the application is no longer showing any window and only accessible via
7+
* system tray (or comparable facilities).
8+
*/
9+
void minimizedToTray();
10+
11+
/**
12+
* Performs tasks required when the application becomes "visible", i.e. is transitioning from a background task
13+
* that lived in the system tray (or comparable facilities).
14+
*/
15+
void restoredFromTray();
16+
17+
}

0 commit comments

Comments
 (0)