public LircPlugin() { actions = new ActionGroup("Lirc"); ctrl = new ActionMapper(new BansheeController()); actions.Add(new ActionEntry[] { new ActionEntry("LircAction", null, "_Lirc", null, "Configure the Lirc Addin", null), new ActionEntry("LircConfigureAction", Stock.Properties, "_Configure", null, "Configure the Lirc addin", OnConfigurePlugin), }); action_service = ServiceManager.Get <InterfaceActionService>("InterfaceActionService"); action_service.UIManager.InsertActionGroup(actions, 0); action_service.UIManager.AddUiFromResource("Ui.xml"); }
public LircPlugin() { actions = new ActionGroup("Lirc"); ctrl = new ActionMapper(new BansheeController()); actions.Add(new ActionEntry[] { new ActionEntry("LircAction", null, "_Lirc", null, "Configure the Lirc Addin", null), new ActionEntry("LircConfigureAction", Stock.Properties, "_Configure", null, "Configure the Lirc addin", OnConfigurePlugin), }); action_service = ServiceManager.Get<InterfaceActionService>("InterfaceActionService"); action_service.UIManager.InsertActionGroup(actions, 0); action_service.UIManager.AddUiFromResource("Ui.xml"); }
public LircPlugin() { ctrl = new ActionMapper(new BansheeController()); }
public void Test1() { ActionMapper am = new ActionMapper(new MockController()); am.DispatchAction("play"); }