correct interfaces

This commit is contained in:
Andrew Welker
2020-10-13 13:30:29 -06:00
parent 08c929699f
commit cb752850ff
2 changed files with 14 additions and 11 deletions

View File

@@ -1,11 +1,15 @@
using System;
using System.Collections.Generic;
namespace PepperDash_Essentials_Core.DeviceTypeInterfaces
{
public interface ILanguageDefinition
{
ILanguageDefinition CurrentLanguage { get; set; }
event EventHandler CurrentLanguageChanged;
string LocaleName { get; set; }
string FriendlyName { get; set; }
bool Enable { get; set; }
List<ILanguageLabel> UiLabels { get; set; }
List<ILanguageLabel> Sources { get; set; }
List<ILanguageLabel> Destinations { get; set; }
}
}

View File

@@ -1,14 +1,13 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
namespace PepperDash_Essentials_Core.DeviceTypeInterfaces
{
public interface ILanguageProvider
public interface ILanguageProvider
{
string LocaleName { get; set; }
string FriendlyName { get; set; }
bool Enable { get; set; }
List<ILanguageLabel> UiLabels { get; set; }
List<ILanguageLabel> Sources { get; set; }
List<ILanguageLabel> Destinations { get; set; }
ILanguageDefinition CurrentLanguage { get; set; }
event EventHandler CurrentLanguageChanged;
}
}