yavsc/BookAStar/BookAStar/Constants.cs

43 lines
1.2 KiB
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2016-09-21 04:02:40 +02:00
using Xamarin.Forms;
namespace BookAStar
{
public static class Constants
{
public const string ApplicationName = "Booking Star";
2016-09-21 04:02:40 +02:00
#region Uri
#if DEV
2016-11-14 17:54:06 +01:00
public const string YavscHomeUrl = "http://dev.pschneider.fr";
#else
#if YAVSC
public const string YavscHomeUrl = "https://yavsc.pschneider.fr";
#else
#if LUA
public const string YavscHomeUrl = "https://lua.pschneider.fr";
#else
public const string YavscHomeUrl = "https://booking.pschneider.fr";
#endif
#endif
#endif
2016-09-21 04:02:40 +02:00
public static readonly string YavscApiUrl = YavscHomeUrl + "/api";
public static readonly string MobileRegistrationUrl = YavscApiUrl + "/gcm/register";
public static readonly string UserInfoUrl = YavscApiUrl + "/me";
public static readonly string BlogUrl = YavscApiUrl + "/blogs";
2016-10-03 18:34:52 +02:00
public static readonly string FsUrl = YavscApiUrl + "/fs";
2016-10-25 23:20:26 +02:00
public static readonly string SignalRHubsUrl = YavscHomeUrl + "/api/signalr/hubs";
#endregion
2016-09-21 04:02:40 +02:00
#region Permissions ids
2016-10-17 14:13:27 +02:00
public static int AllowBeATarget = 1;
#endregion
2016-10-25 23:20:26 +02:00
public static int CloudTimeout = 400;
}
}