Exemple #1
0
 /// <summary>
 ///     Load a config in the default shortcut list.
 /// </summary>
 /// <param name="config">The config to load</param>
 private void setDefaultConfig(ConfigProvider config)
 {
     config.NewShortcutEvent += (ShortcutData shortcut) =>
     {
         log.Info("New shortcut: " + shortcut);
         mDefaultShortcutsList.Add(shortcut);
     };
     config.parseConfig();
 }