using System; using System.Collections.Generic; using System.Device.Location; using System.Windows.Controls; using MahTweets.Core; using MahTweets.Core.Interfaces; using MahTweets.Core.Models; using MahTweets.Core.UpdateTypes; namespace MahTweets.Extensions.Facebook { public class Facebook : IMicroblog { #region IMicroblog Members public Contact Owner { get; set; } public bool ReadOnly { get { return false; } } public IList SupportedTypes { get { throw new NotImplementedException(); } } public bool IsRefreshing { get { return false; } } public void Connect() { } public void Disconnect() { } public void Refresh(bool isRequired) { } public void NewStatusUpdate(string text) { } public void NewStatusUpdate(string text, string id) { } public void NewStatusUpdate(string text, string id, GeoCoordinate location) { } public Credential Credentials { get; set; } public string Name { get { return "Facebook"; } } public string Protocol { get { return "facebook"; } } public Action ShowDialog { get; set; } public Uri DarkIcon { get { return new Uri("/MahTweets.Extensions.Facebook;component/Resources/facebook_dark.png", UriKind.RelativeOrAbsolute); } } public Uri LightIcon { get { return new Uri("/MahTweets.Extensions.Facebook;component/Resources/facebook_light.png", UriKind.RelativeOrAbsolute); } } public void Setup(Action onSuccess, Action onError) { } public string OwnerName { get { return Credentials.AccountName; } } #endregion } }