From cb7f04e4d3ff0a14dabb89ff828dde5a4703dc6b Mon Sep 17 00:00:00 2001 From: LukePulverenti Luke Pulverenti luke pulverenti Date: Wed, 29 Aug 2012 08:21:56 -0400 Subject: Upgraded Protobuf, and added api support for it --- MediaBrowser.Model/DTO/PluginInfo.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'MediaBrowser.Model/DTO/PluginInfo.cs') diff --git a/MediaBrowser.Model/DTO/PluginInfo.cs b/MediaBrowser.Model/DTO/PluginInfo.cs index 76e9026a6..9560b4d8b 100644 --- a/MediaBrowser.Model/DTO/PluginInfo.cs +++ b/MediaBrowser.Model/DTO/PluginInfo.cs @@ -1,17 +1,30 @@ using System; +using ProtoBuf; namespace MediaBrowser.Model.DTO { /// /// This is a serializable stub class that is used by the api to provide information about installed plugins. /// + [ProtoContract] public class PluginInfo { + [ProtoMember(1)] public string Name { get; set; } + + [ProtoMember(2)] public string Path { get; set; } + + [ProtoMember(3)] public bool Enabled { get; set; } + + [ProtoMember(4)] public bool DownloadToUI { get; set; } + + [ProtoMember(5)] public DateTime ConfigurationDateLastModified { get; set; } + + [ProtoMember(6)] public Version Version { get; set; } } } -- cgit v1.2.3