/// <inheritdoc /> protected override async void PluginInit() { LoadConfig(); AWService = new ActivityWatcherService(); eventStore = new EventStore(AWService); this.mouseMoveHook = new MouseMoveHook(); await this.AWService.CreateBucket(); // TODO: Switch to KeyboardPressed Event when available Svc.KeyboardHotKey.MainCallback += new Action <HotKey>(OnKeyboardInput); Svc.SM.UI.ElementWdw.OnElementChanged += new ActionProxy <SMDisplayedElementChangedEventArgs>(ElementWdw_OnElementChanged); }
public EventStore(ActivityWatcherService AWService) { this.AWService = AWService; }