Ejemplo n.º 1
0
        public void Initialize(IUIAssistantAPI api)
        {
            UIAssistantAPI = api;

            Settings         = HitaHintSettings.Load();
            _stateController = new StateController(api);
            _keyController   = new KeyInputController(api, _stateController);
            _localizer       = api.LocalizationAPI.GetLocalizer();
            RegisterCommand();
        }
Ejemplo n.º 2
0
 public KeyInputController(IUIAssistantAPI api, StateController controller)
 {
     UIAssistantAPI   = api;
     _stateController = controller;
     _settings        = HitaHint.Settings;
 }