mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-06-22 05:47:28 +02:00
Initial version.
This commit is contained in:
parent
193aaa1a56
commit
b72c67a53e
228 changed files with 25924 additions and 0 deletions
14
TINKLib/Model/Device/IAppInfo.cs
Normal file
14
TINKLib/Model/Device/IAppInfo.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
namespace TINK.Model.Device
|
||||
{
|
||||
/// <summary> Interface to get version info. </summary>
|
||||
public interface IAppInfo
|
||||
{
|
||||
/// <summary> Gets the app version to display to user.</summary>
|
||||
Version Version { get; }
|
||||
|
||||
/// <summary> Gets the URL to the app store. </summary>
|
||||
/// <value>The store URL.</value>
|
||||
string StoreUrl { get; }
|
||||
}
|
||||
}
|
9
TINKLib/Model/Device/IDevice.cs
Normal file
9
TINKLib/Model/Device/IDevice.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
namespace TINK.Model.Device
|
||||
{
|
||||
public interface IDevice
|
||||
{
|
||||
/// <summary> Gets unitque device identifier. </summary>
|
||||
/// <returns>Gets the identifies specifying device.</returns>
|
||||
string GetIdentifier();
|
||||
}
|
||||
}
|
9
TINKLib/Model/Device/IExternalBrowserService.cs
Normal file
9
TINKLib/Model/Device/IExternalBrowserService.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
namespace TINK.Model.Device
|
||||
{
|
||||
public interface IExternalBrowserService
|
||||
{
|
||||
/// <summary> Opens an external browser. </summary>
|
||||
/// <param name="url">Url to open.</param>
|
||||
void OpenUrl(string url);
|
||||
}
|
||||
}
|
7
TINKLib/Model/Device/IGeolodationDependent.cs
Normal file
7
TINKLib/Model/Device/IGeolodationDependent.cs
Normal file
|
@ -0,0 +1,7 @@
|
|||
namespace TINK.Model.Device
|
||||
{
|
||||
public interface IGeolodationDependent
|
||||
{
|
||||
bool IsGeolcationEnabled { get; }
|
||||
}
|
||||
}
|
15
TINKLib/Model/Device/ISpecialFolder.cs
Normal file
15
TINKLib/Model/Device/ISpecialFolder.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
namespace TINK.Model.Device
|
||||
{
|
||||
public interface ISpecialFolder
|
||||
{
|
||||
/// <summary>
|
||||
/// Get the folder name of external folder to write to.
|
||||
/// </summary>
|
||||
/// <returns>External directory.</returns>
|
||||
string GetExternalFilesDir();
|
||||
|
||||
/// <summary> Gets the folder name of the personal data folder dir on internal storage. </summary>
|
||||
/// <returns>Directory name.</returns>
|
||||
string GetInternalPersonalDir();
|
||||
}
|
||||
}
|
8
TINKLib/Model/Device/IWebView.cs
Normal file
8
TINKLib/Model/Device/IWebView.cs
Normal file
|
@ -0,0 +1,8 @@
|
|||
namespace TINK.Model.Device
|
||||
{
|
||||
public interface IWebView
|
||||
{
|
||||
/// <summary> Clears the cookie cache for all web views. </summary>
|
||||
void ClearCookies();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue