Skip to content

Commit 2843a17

Browse files
committed
Add LinuxTrayIntegrationsProvider
1 parent f51d680 commit 2843a17

3 files changed

Lines changed: 43 additions & 0 deletions

File tree

src/main/java/module-info.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import org.cryptomator.integrations.keychain.KeychainAccessProvider;
2+
import org.cryptomator.integrations.revealpath.RevealPathService;
3+
import org.cryptomator.integrations.tray.TrayMenuController;
4+
import org.cryptomator.linux.keychain.SecretServiceKeychainAccess;
5+
import org.cryptomator.linux.revealpath.DBusSendRevealPathService;
6+
import org.cryptomator.linux.tray.AppindicatorTrayMenuController;
7+
8+
module org.cryptomator.integrations.linux {
9+
requires org.cryptomator.integrations.api;
10+
requires org.slf4j;
11+
requires com.google.common;
12+
requires org.apache.commons.lang3;
13+
requires org.freedesktop.dbus;
14+
requires org.purejava.appindicator;
15+
requires kdewallet;
16+
requires secret.service;
17+
18+
provides KeychainAccessProvider with SecretServiceKeychainAccess;
19+
provides RevealPathService with DBusSendRevealPathService;
20+
provides TrayMenuController with AppindicatorTrayMenuController;
21+
22+
exports org.cryptomator.linux.tray;
23+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package org.cryptomator.linux.tray;
2+
3+
import org.cryptomator.integrations.common.OperatingSystem;
4+
import org.cryptomator.integrations.common.Priority;
5+
import org.cryptomator.integrations.tray.TrayIntegrationProvider;
6+
7+
@Priority(1000)
8+
@OperatingSystem(OperatingSystem.Value.LINUX)
9+
public class LinuxTrayIntegrationsProvider implements TrayIntegrationProvider {
10+
@Override
11+
public void minimizedToTray() {
12+
13+
}
14+
15+
@Override
16+
public void restoredFromTray() {
17+
18+
}
19+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
org.cryptomator.linux.tray.LinuxTrayIntegrationsProvider

0 commit comments

Comments
 (0)