Qabel / qabel-desktop

(B2C) :computer: Desktop frontend of Qabel
Other
11 stars 12 forks source link

Plugins #558

Closed julianseeger closed 7 years ago

julianseeger commented 7 years ago
public class TrayPlugin implements ClientPlugin {
    ....
    @Override
    public void initialize(CompositeServiceFactory serviceFactory, EventSource events) {
        serviceFactory.addServiceFactory(new TrayServiceFactory());
        AfterburnerInjector.injectMembers(this);

        installTray(events);
        dropMessageNotificator.subscribe(events);
    }
    ....
}