mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
#440 add interfaces
This commit is contained in:
parent
b997e9a135
commit
1862090a89
3 changed files with 33 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace PepperDash_Essentials_Core.DeviceTypeInterfaces
|
||||||
|
{
|
||||||
|
public interface ILanguageDefinition
|
||||||
|
{
|
||||||
|
ILanguageDefinition CurrentLanguage { get; set; }
|
||||||
|
|
||||||
|
event EventHandler CurrentLanguageChanged;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
namespace PepperDash_Essentials_Core.DeviceTypeInterfaces
|
||||||
|
{
|
||||||
|
public interface ILanguageLabel
|
||||||
|
{
|
||||||
|
string Description { get; set; }
|
||||||
|
string DisplayText { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace PepperDash_Essentials_Core.DeviceTypeInterfaces
|
||||||
|
{
|
||||||
|
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; }
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue