From 5e1f4c01b87d3824493265280d05f56ef37cc1af Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 10 Apr 2013 21:52:15 -0400 Subject: added back IsFirstRun --- MediaBrowser.Common/Plugins/BasePlugin.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'MediaBrowser.Common/Plugins/BasePlugin.cs') diff --git a/MediaBrowser.Common/Plugins/BasePlugin.cs b/MediaBrowser.Common/Plugins/BasePlugin.cs index f0f5337cc..ca2891734 100644 --- a/MediaBrowser.Common/Plugins/BasePlugin.cs +++ b/MediaBrowser.Common/Plugins/BasePlugin.cs @@ -34,6 +34,12 @@ namespace MediaBrowser.Common.Plugins /// The name. public abstract string Name { get; } + /// + /// Gets a value indicating whether this instance is first run. + /// + /// true if this instance is first run; otherwise, false. + public bool IsFirstRun { get; private set; } + /// /// Gets the description. /// @@ -257,7 +263,6 @@ namespace MediaBrowser.Common.Plugins /// /// Saves the current configuration to the file system /// - /// Cannot call Plugin.SaveConfiguration from the UI. public virtual void SaveConfiguration() { lock (_configurationSaveLock) -- cgit v1.2.3