2014-03-07 08:53:23 -07:00
|
|
|
|
|
2013-02-20 18:33:05 -07:00
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Plugins derive from and export this class to create a folder that will appear in the root along
|
|
|
|
|
/// with all the other actual physical folders in the system.
|
|
|
|
|
/// </summary>
|
2013-03-15 12:08:49 -07:00
|
|
|
|
public abstract class BasePluginFolder : Folder, ICollectionFolder, IByReferenceItem
|
2013-02-20 18:33:05 -07:00
|
|
|
|
{
|
2014-06-21 22:52:31 -07:00
|
|
|
|
public virtual string CollectionType
|
2014-06-14 16:13:09 -07:00
|
|
|
|
{
|
2014-07-29 20:31:35 -07:00
|
|
|
|
get { return null; }
|
2014-06-14 16:13:09 -07:00
|
|
|
|
}
|
2015-02-05 22:39:07 -07:00
|
|
|
|
|
|
|
|
|
public override bool CanDelete()
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2015-02-19 12:00:56 -07:00
|
|
|
|
|
|
|
|
|
public override bool IsSaveLocalMetadataEnabled()
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2013-02-20 18:33:05 -07:00
|
|
|
|
}
|
|
|
|
|
}
|