- /**
- * Creates a new preferences object wrapped around the given options.
- *
- * @param options
- * The options to wrap
- */
- public Preferences(Options options) {
+ public Preferences(EventBus eventBus, Options options) {
+ this.eventBus = eventBus;