public DepthMapOverUnderPlugin() { try { Name = "Depthmap Over/Under"; var effect = new DepthMapOverUnderEffect(); Content = effect; Panel = new DepthMapOverUnderPanel(effect); InjectConfig(PluginConfig.FromSettings(ConfigHelper.LoadConfig().AppSettings.Settings)); } catch (Exception exc) { Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc); } }
public DualDomePlugin() { try { Name = "Dual dome"; var projection = new DualDomeProjection(); Content = projection; Panel = new DualDomePanel(projection); InjectConfig(PluginConfig.FromSettings(ConfigHelper.LoadConfig().AppSettings.Settings)); } catch (Exception exc) { Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc); } }
public VlcDotNetPlugin() { try { Name = "VLC"; var media = new VlcDotNetMedia(); Content = media; Panel = new VlcDotNetPanel(media); InjectConfig(PluginConfig.FromSettings(ConfigHelper.LoadConfig().AppSettings.Settings)); } catch (Exception exc) { Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc); } }
public DeshakerPlugin() { try { Name = "Deshaker"; var stabilizer = new DeshakerStabilizer(); Content = stabilizer; Panel = new DeshakerPanel(stabilizer); InjectConfig(PluginConfig.FromSettings(ConfigHelper.LoadConfig().AppSettings.Settings)); } catch (Exception exc) { Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc); } }
public PsMoveTrackerPlugin() { try { Name = "Playstation Move"; var tracker = new PsMoveTracker(); Content = tracker; Panel = new PsMovePanel(tracker); InjectConfig(PluginConfig.FromSettings(ConfigHelper.LoadConfig().AppSettings.Settings)); } catch (Exception exc) { Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc); } }
public BarrelPlugin() { try { Name = "Barrel"; var effect = new BarrelEffect(); Content = effect; Panel = null; InjectConfig(PluginConfig.FromSettings(ConfigHelper.LoadConfig().AppSettings.Settings)); } catch (Exception exc) { Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc); } }