We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdf313e commit 9daf5f6Copy full SHA for 9daf5f6
1 file changed
src/main/java/org/cryptomator/integrations/tray/TrayIconLoader.java
@@ -1,10 +1,14 @@
1
package org.cryptomator.integrations.tray;
2
3
+import org.jetbrains.annotations.ApiStatus;
4
+
5
/**
6
* A callback used by the {@link TrayMenuController} to load tray icons in the format required by the implementation.
7
*/
8
+@ApiStatus.Experimental
9
sealed public interface TrayIconLoader permits TrayIconLoader.PngData, TrayIconLoader.FreedesktopIconName {
10
11
+ @FunctionalInterface
12
non-sealed interface PngData extends TrayIconLoader {
13
14
@@ -15,6 +19,7 @@ non-sealed interface PngData extends TrayIconLoader {
15
19
void loadPng(byte[] data);
16
20
}
17
21
22
18
23
non-sealed interface FreedesktopIconName extends TrayIconLoader {
24
25
0 commit comments