Skip to content

Commit 9daf5f6

Browse files
mark api as still being subject to change
1 parent cdf313e commit 9daf5f6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/main/java/org/cryptomator/integrations/tray/TrayIconLoader.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
package org.cryptomator.integrations.tray;
22

3+
import org.jetbrains.annotations.ApiStatus;
4+
35
/**
46
* A callback used by the {@link TrayMenuController} to load tray icons in the format required by the implementation.
57
*/
8+
@ApiStatus.Experimental
69
sealed public interface TrayIconLoader permits TrayIconLoader.PngData, TrayIconLoader.FreedesktopIconName {
710

11+
@FunctionalInterface
812
non-sealed interface PngData extends TrayIconLoader {
913

1014
/**
@@ -15,6 +19,7 @@ non-sealed interface PngData extends TrayIconLoader {
1519
void loadPng(byte[] data);
1620
}
1721

22+
@FunctionalInterface
1823
non-sealed interface FreedesktopIconName extends TrayIconLoader {
1924

2025
/**

0 commit comments

Comments
 (0)