diff options
| author | LukePulverenti <luke.pulverenti@gmail.com> | 2013-02-20 20:33:05 -0500 |
|---|---|---|
| committer | LukePulverenti <luke.pulverenti@gmail.com> | 2013-02-20 20:33:05 -0500 |
| commit | 767cdc1f6f6a63ce997fc9476911e2c361f9d402 (patch) | |
| tree | 49add55976f895441167c66cfa95e5c7688d18ce /MediaBrowser.Model/Plugins/BasePluginConfiguration.cs | |
| parent | 845554722efaed872948a9e0f7202e3ef52f1b6e (diff) | |
Pushing missing changes
Diffstat (limited to 'MediaBrowser.Model/Plugins/BasePluginConfiguration.cs')
| -rw-r--r-- | MediaBrowser.Model/Plugins/BasePluginConfiguration.cs | 45 |
1 files changed, 32 insertions, 13 deletions
diff --git a/MediaBrowser.Model/Plugins/BasePluginConfiguration.cs b/MediaBrowser.Model/Plugins/BasePluginConfiguration.cs index e33ebcce7..4c7b8812f 100644 --- a/MediaBrowser.Model/Plugins/BasePluginConfiguration.cs +++ b/MediaBrowser.Model/Plugins/BasePluginConfiguration.cs @@ -1,13 +1,32 @@ -
-namespace MediaBrowser.Model.Plugins
-{
- public class BasePluginConfiguration
- {
- public bool Enabled { get; set; }
-
- public BasePluginConfiguration()
- {
- Enabled = true;
- }
- }
-}
+using MediaBrowser.Model.Updates; + +namespace MediaBrowser.Model.Plugins +{ + /// <summary> + /// Class BasePluginConfiguration + /// </summary> + public class BasePluginConfiguration + { + /// <summary> + /// Whether or not this plug-in should be automatically updated when a + /// compatible new version is released + /// </summary> + /// <value><c>true</c> if [enable auto update]; otherwise, <c>false</c>.</value> + public bool EnableAutoUpdate { get; set; } + + /// <summary> + /// The classification of updates to which to subscribe. + /// Options are: Dev, Beta or Release + /// </summary> + /// <value>The update class.</value> + public PackageVersionClass UpdateClass { get; set; } + + /// <summary> + /// Initializes a new instance of the <see cref="BasePluginConfiguration" /> class. + /// </summary> + public BasePluginConfiguration() + { + EnableAutoUpdate = true; + } + } +} |
