aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model')
-rw-r--r--MediaBrowser.Model/MediaBrowser.Model.csproj2
-rw-r--r--MediaBrowser.Model/Themes/AppTheme.cs30
-rw-r--r--MediaBrowser.Model/Themes/ThemeImage.cs18
3 files changed, 50 insertions, 0 deletions
diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj
index d9c7cbffe..10aedb3ba 100644
--- a/MediaBrowser.Model/MediaBrowser.Model.csproj
+++ b/MediaBrowser.Model/MediaBrowser.Model.csproj
@@ -165,6 +165,8 @@
<Compile Include="Session\SessionInfoDto.cs" />
<Compile Include="Session\SystemCommand.cs" />
<Compile Include="Session\UserDataChangeInfo.cs" />
+ <Compile Include="Themes\AppTheme.cs" />
+ <Compile Include="Themes\ThemeImage.cs" />
<Compile Include="Updates\CheckForUpdateResult.cs" />
<Compile Include="Updates\PackageTargetSystem.cs" />
<Compile Include="Updates\InstallationInfo.cs" />
diff --git a/MediaBrowser.Model/Themes/AppTheme.cs b/MediaBrowser.Model/Themes/AppTheme.cs
new file mode 100644
index 000000000..a0532854d
--- /dev/null
+++ b/MediaBrowser.Model/Themes/AppTheme.cs
@@ -0,0 +1,30 @@
+using System;
+using System.Collections.Generic;
+
+namespace MediaBrowser.Model.Themes
+{
+ public class AppTheme
+ {
+ public string ApplicationName { get; set; }
+
+ public string Name { get; set; }
+
+ public Dictionary<string, string> Options { get; set; }
+
+ public List<ThemeImage> Images { get; set; }
+
+ public AppTheme()
+ {
+ Options = new Dictionary<string, string>(StringComparer.Ordinal);
+
+ Images = new List<ThemeImage>();
+ }
+ }
+
+ public class AppThemeInfo
+ {
+ public string ApplicationName { get; set; }
+
+ public string Name { get; set; }
+ }
+}
diff --git a/MediaBrowser.Model/Themes/ThemeImage.cs b/MediaBrowser.Model/Themes/ThemeImage.cs
new file mode 100644
index 000000000..2fe0820ae
--- /dev/null
+++ b/MediaBrowser.Model/Themes/ThemeImage.cs
@@ -0,0 +1,18 @@
+
+namespace MediaBrowser.Model.Themes
+{
+ public class ThemeImage
+ {
+ /// <summary>
+ /// Gets or sets the name.
+ /// </summary>
+ /// <value>The name.</value>
+ public string Name { get; set; }
+
+ /// <summary>
+ /// Gets or sets the cache tag.
+ /// </summary>
+ /// <value>The cache tag.</value>
+ public string CacheTag { get; set; }
+ }
+}