Fixed alot of Signatures, only 8 classes away from being identical to xna (in terms of signature ;))

This commit is contained in:
SND\AstrorEnales_cp 2012-01-16 20:08:38 +00:00
parent 1441ae2704
commit 41a38aa51f
38 changed files with 2073 additions and 99 deletions

View File

@ -1,5 +1,6 @@
#region Using Statements
using System;
using System.IO;
#endregion // Using Statements
@ -52,7 +53,83 @@ using System;
namespace ANX.Framework.GamerServices
{
public sealed class Achievement
{
}
public sealed class Achievement
{
public bool DisplayBeforeEarned
{
get
{
throw new NotImplementedException();
}
}
public bool EarnedOnline
{
get
{
throw new NotImplementedException();
}
}
public bool IsEarned
{
get
{
throw new NotImplementedException();
}
}
public string Key
{
get
{
throw new NotImplementedException();
}
}
public string Name
{
get
{
throw new NotImplementedException();
}
}
public string Description
{
get
{
throw new NotImplementedException();
}
}
public string HowToEarn
{
get
{
throw new NotImplementedException();
}
}
public int GamerScore
{
get
{
throw new NotImplementedException();
}
}
public DateTime EarnedDateTime
{
get
{
throw new NotImplementedException();
}
}
public Stream GetPicture()
{
throw new NotImplementedException();
}
}
}

View File

@ -54,9 +54,9 @@ using System.Collections;
namespace ANX.Framework.GamerServices
{
public sealed class AchievementCollection : IList<Achievement>, ICollection<Achievement>, IEnumerable<Achievement>, IEnumerable, IDisposable
public sealed class AchievementCollection : IList<Achievement>, ICollection<Achievement>,
IEnumerable<Achievement>, IEnumerable, IDisposable
{
public int IndexOf(Achievement item)
{
throw new NotImplementedException();
@ -133,5 +133,15 @@ namespace ANX.Framework.GamerServices
{
throw new NotImplementedException();
}
public bool IsDisposed
{
get { throw new NotImplementedException(); }
}
public Achievement this[string name]
{
get { throw new NotImplementedException(); }
}
}
}

View File

@ -52,44 +52,63 @@ using System;
namespace ANX.Framework.GamerServices
{
public class AvatarAnimation : IAvatarAnimation, IDisposable
{
public class AvatarAnimation : IAvatarAnimation, IDisposable
{
public AvatarAnimation(AvatarAnimationPreset preset)
{
throw new NotImplementedException();
}
public void Dispose()
{
throw new NotImplementedException();
}
~AvatarAnimation()
{
Dispose();
}
public System.Collections.ObjectModel.ReadOnlyCollection<Matrix> BoneTransforms
{
get { throw new NotImplementedException(); }
}
public void Dispose()
{
throw new NotImplementedException();
}
public TimeSpan CurrentPosition
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
protected void Dispose(bool disposing)
{
throw new NotImplementedException();
}
public AvatarExpression Expression
{
get { throw new NotImplementedException(); }
}
public System.Collections.ObjectModel.ReadOnlyCollection<Matrix> BoneTransforms
{
get { throw new NotImplementedException(); }
}
public TimeSpan Length
{
get { throw new NotImplementedException(); }
}
public TimeSpan CurrentPosition
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public void Update(TimeSpan elapsedAnimationTime, bool loop)
{
throw new NotImplementedException();
}
}
public AvatarExpression Expression
{
get { throw new NotImplementedException(); }
}
public bool IsDisposed
{
get { throw new NotImplementedException(); }
}
public TimeSpan Length
{
get { throw new NotImplementedException(); }
}
public void Update(TimeSpan elapsedAnimationTime, bool loop)
{
throw new NotImplementedException();
}
}
}

View File

@ -52,7 +52,66 @@ using System;
namespace ANX.Framework.GamerServices
{
public class AvatarDescription
{
}
public class AvatarDescription
{
public bool IsValid
{
get
{
throw new NotImplementedException();
}
}
public byte[] Description
{
get
{
throw new NotImplementedException();
}
}
public float Height
{
get
{
throw new NotImplementedException();
}
}
public AvatarBodyType BodyType
{
get
{
throw new NotImplementedException();
}
}
public event EventHandler<EventArgs> Changed;
public AvatarDescription(byte[] data)
{
throw new NotImplementedException();
}
public static IAsyncResult BeginGetFromGamer(Gamer gamer, AsyncCallback callback,
object state)
{
throw new NotImplementedException();
}
public static AvatarDescription EndGetFromGamer(IAsyncResult result)
{
throw new NotImplementedException();
}
public static AvatarDescription CreateRandom()
{
throw new NotImplementedException();
}
public static AvatarDescription CreateRandom(AvatarBodyType bodyType)
{
throw new NotImplementedException();
}
}
}

View File

@ -52,12 +52,24 @@ using System;
namespace ANX.Framework.GamerServices
{
public sealed class FriendCollection : GamerCollection<FriendGamer>, IDisposable
{
public sealed class FriendCollection : GamerCollection<FriendGamer>, IDisposable
{
public bool IsDisposed
{
get
{
throw new NotImplementedException();
}
}
public void Dispose()
{
throw new NotImplementedException();
}
}
~FriendCollection()
{
Dispose();
}
public void Dispose()
{
throw new NotImplementedException();
}
}
}

View File

@ -52,7 +52,102 @@ using System;
namespace ANX.Framework.GamerServices
{
public sealed class GameDefaults
{
}
public sealed class GameDefaults
{
public GameDifficulty GameDifficulty
{
get
{
throw new NotImplementedException();
}
}
public ControllerSensitivity ControllerSensitivity
{
get
{
throw new NotImplementedException();
}
}
public bool AutoAim
{
get
{
throw new NotImplementedException();
}
}
public bool AutoCenter
{
get
{
throw new NotImplementedException();
}
}
public bool MoveWithRightThumbStick
{
get
{
throw new NotImplementedException();
}
}
public bool InvertYAxis
{
get
{
throw new NotImplementedException();
}
}
public bool ManualTransmission
{
get
{
throw new NotImplementedException();
}
}
public bool AccelerateWithButtons
{
get
{
throw new NotImplementedException();
}
}
public bool BrakeWithButtons
{
get
{
throw new NotImplementedException();
}
}
public Color? PrimaryColor
{
get
{
throw new NotImplementedException();
}
}
public Color? SecondaryColor
{
get
{
throw new NotImplementedException();
}
}
public RacingCameraAngle RacingCameraAngle
{
get
{
throw new NotImplementedException();
}
}
}
}

View File

@ -54,5 +54,28 @@ namespace ANX.Framework.GamerServices
{
public sealed class GamerPresence
{
public GamerPresenceMode PresenceMode
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public int PresenceValue
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
}
}

View File

@ -52,8 +52,62 @@ using System;
namespace ANX.Framework.GamerServices
{
public sealed class GamerPrivileges
{
public sealed class GamerPrivileges
{
public bool AllowOnlineSessions
{
get
{
throw new NotImplementedException();
}
}
}
public GamerPrivilegeSetting AllowCommunication
{
get
{
throw new NotImplementedException();
}
}
public GamerPrivilegeSetting AllowProfileViewing
{
get
{
throw new NotImplementedException();
}
}
public GamerPrivilegeSetting AllowUserCreatedContent
{
get
{
throw new NotImplementedException();
}
}
public bool AllowTradeContent
{
get
{
throw new NotImplementedException();
}
}
public bool AllowPurchaseContent
{
get
{
throw new NotImplementedException();
}
}
public bool AllowPremiumContent
{
get
{
throw new NotImplementedException();
}
}
}
}

View File

@ -1,5 +1,7 @@
#region Using Statements
using System;
using System.IO;
using System.Globalization;
#endregion // Using Statements
@ -58,5 +60,74 @@ namespace ANX.Framework.GamerServices
{
throw new NotImplementedException();
}
public Stream GetGamerPicture()
{
throw new NotImplementedException();
}
public bool IsDisposed
{
get
{
throw new NotImplementedException();
}
}
public string Motto
{
get
{
throw new NotImplementedException();
}
}
public float Reputation
{
get
{
throw new NotImplementedException();
}
}
public GamerZone GamerZone
{
get
{
throw new NotImplementedException();
}
}
public RegionInfo Region
{
get
{
throw new NotImplementedException();
}
}
public int GamerScore
{
get
{
throw new NotImplementedException();
}
}
public int TitlesPlayed
{
get
{
throw new NotImplementedException();
}
}
public int TotalAchievements
{
get
{
throw new NotImplementedException();
}
}
}
}

View File

@ -52,7 +52,38 @@ using System;
namespace ANX.Framework.GamerServices
{
public static class GamerServicesDispatcher
{
}
public static class GamerServicesDispatcher
{
public static bool IsInitialized
{
get
{
throw new NotImplementedException();
}
}
public static IntPtr WindowHandle
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public static event EventHandler<EventArgs> InstallingTitleUpdate;
public static void Initialize(IServiceProvider serviceProvider)
{
throw new NotImplementedException();
}
public static void Update()
{
throw new NotImplementedException();
}
}
}

View File

@ -1,5 +1,7 @@
#region Using Statements
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
#endregion // Using Statements
@ -52,11 +54,139 @@ using System;
namespace ANX.Framework.GamerServices
{
public sealed class LeaderboardReader : IDisposable
{
public void Dispose()
{
throw new NotImplementedException();
}
}
public sealed class LeaderboardReader : IDisposable
{
public LeaderboardIdentity LeaderboardIdentity
{
get
{
throw new NotImplementedException();
}
}
public int TotalLeaderboardSize
{
get
{
throw new NotImplementedException();
}
}
public int PageStart
{
get
{
throw new NotImplementedException();
}
}
public bool IsDisposed
{
get
{
throw new NotImplementedException();
}
}
public bool CanPageUp
{
get
{
throw new NotImplementedException();
}
}
public bool CanPageDown
{
get
{
throw new NotImplementedException();
}
}
public ReadOnlyCollection<LeaderboardEntry> Entries
{
get
{
throw new NotImplementedException();
}
}
public void Dispose()
{
throw new NotImplementedException();
}
public static LeaderboardReader Read(LeaderboardIdentity identity,
IEnumerable<Gamer> gamers, Gamer pivotGamer, int pageSize)
{
throw new NotImplementedException();
}
public static LeaderboardReader Read(LeaderboardIdentity identity,
Gamer pivotGamer, int pageSize)
{
throw new NotImplementedException();
}
public static LeaderboardReader Read(LeaderboardIdentity identity,
int pageStart, int pageSize)
{
throw new NotImplementedException();
}
public static IAsyncResult BeginRead(LeaderboardIdentity identity,
IEnumerable<Gamer> gamers, Gamer pivotGamer, int pageSize,
AsyncCallback callback, object asyncState)
{
throw new NotImplementedException();
}
public static IAsyncResult BeginRead(LeaderboardIdentity identity,
Gamer pivotGamer, int pageSize, AsyncCallback callback, object asyncState)
{
throw new NotImplementedException();
}
public static IAsyncResult BeginRead(LeaderboardIdentity identity,
int pageStart, int pageSize, AsyncCallback callback, object asyncState)
{
throw new NotImplementedException();
}
public static LeaderboardReader EndRead(IAsyncResult result)
{
throw new NotImplementedException();
}
public void PageUp()
{
throw new NotImplementedException();
}
public void PageDown()
{
throw new NotImplementedException();
}
public IAsyncResult BeginPageUp(AsyncCallback callback, object asyncState)
{
throw new NotImplementedException();
}
public IAsyncResult BeginPageDown(AsyncCallback callback, object asyncState)
{
throw new NotImplementedException();
}
public void EndPageUp(IAsyncResult result)
{
throw new NotImplementedException();
}
public void EndPageDown(IAsyncResult result)
{
throw new NotImplementedException();
}
}
}

View File

@ -52,11 +52,16 @@ using System;
namespace ANX.Framework.GamerServices
{
public sealed class LeaderboardWriter : IDisposable
{
public void Dispose()
{
throw new NotImplementedException();
}
}
public sealed class LeaderboardWriter : IDisposable
{
public LeaderboardEntry GetLeaderboard(LeaderboardIdentity identity)
{
throw new NotImplementedException();
}
public void Dispose()
{
throw new NotImplementedException();
}
}
}

View File

@ -2,6 +2,7 @@
using System;
using System.Collections.Generic;
using System.Collections;
using System.IO;
#endregion // Using Statements
@ -142,5 +143,90 @@ namespace ANX.Framework.GamerServices
{
throw new NotImplementedException();
}
public int GetValueInt32(string key)
{
throw new NotImplementedException();
}
public Int64 GetValueInt64(string key)
{
throw new NotImplementedException();
}
public float GetValueSingle(string key)
{
throw new NotImplementedException();
}
public double GetValueDouble(string key)
{
throw new NotImplementedException();
}
public string GetValueString(string key)
{
throw new NotImplementedException();
}
public LeaderboardOutcome GetValueOutcome(string key)
{
throw new NotImplementedException();
}
public DateTime GetValueDateTime(string key)
{
throw new NotImplementedException();
}
public TimeSpan GetValueTimeSpan(string key)
{
throw new NotImplementedException();
}
public Stream GetValueStream(string key)
{
throw new NotImplementedException();
}
public void SetValue(string key, int value)
{
throw new NotImplementedException();
}
public void SetValue(string key, Int64 value)
{
throw new NotImplementedException();
}
public void SetValue(string key, float value)
{
throw new NotImplementedException();
}
public void SetValue(string key, double value)
{
throw new NotImplementedException();
}
public void SetValue(string key, string value)
{
throw new NotImplementedException();
}
public void SetValue(string key, LeaderboardOutcome value)
{
throw new NotImplementedException();
}
public void SetValue(string key, DateTime value)
{
throw new NotImplementedException();
}
public void SetValue(string key, TimeSpan value)
{
throw new NotImplementedException();
}
}
}

View File

@ -90,7 +90,7 @@ namespace ANX.Framework.Graphics
base.nativeTexture = this.nativeRenderTarget as INativeTexture2D;
}
public RenderTarget2D(GraphicsDevice graphicsDevice, int width, int height, bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat)
public RenderTarget2D(GraphicsDevice graphicsDevice, int width, int height, [MarshalAsAttribute(UnmanagedType.U1)] bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat)
: base(graphicsDevice)
{
this.depthStencilFormat = DepthFormat.None;
@ -101,7 +101,7 @@ namespace ANX.Framework.Graphics
base.nativeTexture = this.nativeRenderTarget as INativeTexture2D;
}
public RenderTarget2D(GraphicsDevice graphicsDevice, int width, int height, bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, int preferredMultiSampleCount, RenderTargetUsage usage)
public RenderTarget2D(GraphicsDevice graphicsDevice, int width, int height, [MarshalAsAttribute(UnmanagedType.U1)] bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, int preferredMultiSampleCount, RenderTargetUsage usage)
: base(graphicsDevice)
{
this.depthStencilFormat = preferredDepthFormat;

View File

@ -62,13 +62,13 @@ namespace ANX.Framework.Graphics
{
public event EventHandler<EventArgs> ContentLost;
public RenderTargetCube(GraphicsDevice graphicsDevice, int size, bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat)
public RenderTargetCube(GraphicsDevice graphicsDevice, int size, [MarshalAsAttribute(UnmanagedType.U1)] bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat)
: base(graphicsDevice, size, mipMap, preferredFormat)
{
throw new NotImplementedException();
}
public RenderTargetCube(GraphicsDevice graphicsDevice, int size, bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, int preferredMultiSampleCount, RenderTargetUsage usage)
public RenderTargetCube(GraphicsDevice graphicsDevice, int size, [MarshalAsAttribute(UnmanagedType.U1)] bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, int preferredMultiSampleCount, RenderTargetUsage usage)
: base(graphicsDevice, size, mipMap, preferredFormat)
{
throw new NotImplementedException();

View File

@ -82,7 +82,7 @@ namespace ANX.Framework.Graphics
CreateNativeTextureSurface(graphicsDevice, SurfaceFormat.Color, width, height, levelCount);
}
public Texture2D(GraphicsDevice graphicsDevice, int width, int height, bool mipMap, SurfaceFormat format)
public Texture2D(GraphicsDevice graphicsDevice, int width, int height, [MarshalAsAttribute(UnmanagedType.U1)] bool mipMap, SurfaceFormat format)
: base(graphicsDevice)
{
this.width = width;
@ -99,7 +99,7 @@ namespace ANX.Framework.Graphics
throw new NotImplementedException();
}
public static Texture2D FromStream(GraphicsDevice graphicsDevice, Stream stream, int width, int height, bool zoom)
public static Texture2D FromStream(GraphicsDevice graphicsDevice, Stream stream, int width, int height, [MarshalAsAttribute(UnmanagedType.U1)] bool zoom)
{
throw new NotImplementedException();
}

View File

@ -55,7 +55,7 @@ namespace ANX.Framework.Graphics
{
public class Texture3D : Texture, IGraphicsResource
{
public Texture3D(GraphicsDevice graphics, int width, int height, int depth, bool mipMap, SurfaceFormat format)
public Texture3D(GraphicsDevice graphics, int width, int height, int depth, [MarshalAsAttribute(UnmanagedType.U1)] bool mipMap, SurfaceFormat format)
: base(graphics)
{

View File

@ -55,7 +55,7 @@ namespace ANX.Framework.Graphics
{
public class TextureCube : Texture, IGraphicsResource
{
public TextureCube(GraphicsDevice graphics, int size, bool mipMap, SurfaceFormat format)
public TextureCube(GraphicsDevice graphics, int size, [MarshalAsAttribute(UnmanagedType.U1)] bool mipMap, SurfaceFormat format)
: base(graphics)
{
this.Size = size;

View File

@ -49,7 +49,89 @@
namespace ANX.Framework.Input.Touch
{
public class TouchPanel
public static class TouchPanel
{
public static GestureType EnabledGestures
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public static bool IsGestureAvailable
{
get
{
throw new NotImplementedException();
}
}
public static IntPtr WindowHandle
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public static DisplayOrientation DisplayOrientation
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public static int DisplayWidth
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public static int DisplayHeight
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public static TouchPanelCapabilities GetCapabilities()
{
throw new NotImplementedException();
}
public static GestureSample ReadGesture()
{
throw new NotImplementedException();
}
public static TouchCollection GetState()
{
throw new NotImplementedException();
}
}
}

View File

@ -1,4 +1,5 @@
using System;
using System.IO;
#region License
@ -49,7 +50,112 @@
namespace ANX.Framework.Media
{
public class Album
public sealed class Album : IEquatable<Album>, IDisposable
{
public bool IsDisposed
{
get
{
throw new NotImplementedException();
}
}
public string Name
{
get
{
throw new NotImplementedException();
}
}
public TimeSpan Duration
{
get
{
throw new NotImplementedException();
}
}
public bool HasArt
{
get
{
throw new NotImplementedException();
}
}
public Artist Artist
{
get
{
throw new NotImplementedException();
}
}
public SongCollection Songs
{
get
{
throw new NotImplementedException();
}
}
public Genre Genre
{
get
{
throw new NotImplementedException();
}
}
~Album()
{
Dispose();
}
public Stream GetAlbumArt()
{
throw new NotImplementedException();
}
public Stream GetThumbnail()
{
throw new NotImplementedException();
}
public void Dispose()
{
throw new NotImplementedException();
}
public bool Equals(Album other)
{
throw new NotImplementedException();
}
public bool Equals(object other)
{
throw new NotImplementedException();
}
public static bool operator ==(Album first, Album second)
{
throw new NotImplementedException();
}
public static bool operator !=(Album first, Album second)
{
throw new NotImplementedException();
}
public override string ToString()
{
throw new NotImplementedException();
}
public override int GetHashCode()
{
throw new NotImplementedException();
}
}
}

View File

@ -49,7 +49,78 @@
namespace ANX.Framework.Media
{
public class Artist
public sealed class Artist : IEquatable<Artist>, IDisposable
{
public bool IsDisposed
{
get
{
throw new NotImplementedException();
}
}
public string Name
{
get
{
throw new NotImplementedException();
}
}
public SongCollection Songs
{
get
{
throw new NotImplementedException();
}
}
public AlbumCollection Albums
{
get
{
throw new NotImplementedException();
}
}
~Artist()
{
Dispose();
}
public bool Equals(Artist other)
{
throw new NotImplementedException();
}
public override bool Equals(object obj)
{
throw new NotImplementedException();
}
public void Dispose()
{
throw new NotImplementedException();
}
public override string ToString()
{
throw new NotImplementedException();
}
public override int GetHashCode()
{
throw new NotImplementedException();
}
public static bool operator ==(Artist first, Artist second)
{
throw new NotImplementedException();
}
public static bool operator !=(Artist first, Artist second)
{
throw new NotImplementedException();
}
}
}

View File

@ -49,7 +49,78 @@
namespace ANX.Framework.Media
{
public class Genre
public sealed class Genre : IEquatable<Genre>, IDisposable
{
public bool IsDisposed
{
get
{
throw new NotImplementedException();
}
}
public string Name
{
get
{
throw new NotImplementedException();
}
}
public SongCollection Songs
{
get
{
throw new NotImplementedException();
}
}
public AlbumCollection Albums
{
get
{
throw new NotImplementedException();
}
}
~Genre()
{
Dispose();
}
public bool Equals(Genre other)
{
throw new NotImplementedException();
}
public override bool Equals(object obj)
{
throw new NotImplementedException();
}
public void Dispose()
{
throw new NotImplementedException();
}
public override string ToString()
{
throw new NotImplementedException();
}
public override int GetHashCode()
{
throw new NotImplementedException();
}
public static bool operator ==(Genre first, Genre second)
{
throw new NotImplementedException();
}
public static bool operator !=(Genre first, Genre second)
{
throw new NotImplementedException();
}
}
}

View File

@ -1,4 +1,5 @@
using System;
using System.IO;
#region License
@ -49,7 +50,131 @@
namespace ANX.Framework.Media
{
public class MediaLibrary
public sealed class MediaLibrary : IDisposable
{
#region Public
public PictureCollection Pictures
{
get
{
throw new NotImplementedException();
}
}
public PictureAlbum RootPictureAlbum
{
get
{
throw new NotImplementedException();
}
}
public PictureCollection SavedPictures
{
get
{
throw new NotImplementedException();
}
}
public MediaSource MediaSource
{
get
{
throw new NotImplementedException();
}
}
public SongCollection Songs
{
get
{
throw new NotImplementedException();
}
}
public ArtistCollection Artists
{
get
{
throw new NotImplementedException();
}
}
public AlbumCollection Albums
{
get
{
throw new NotImplementedException();
}
}
public PlaylistCollection Playlists
{
get
{
throw new NotImplementedException();
}
}
public GenreCollection Genres
{
get
{
throw new NotImplementedException();
}
}
public bool IsDisposed
{
get
{
throw new NotImplementedException();
}
}
#endregion
#region Constructor
public MediaLibrary()
{
throw new NotImplementedException();
}
public MediaLibrary(MediaSource setSource)
{
throw new NotImplementedException();
}
~MediaLibrary()
{
Dispose();
}
#endregion
#region Dispose
public void Dispose()
{
throw new NotImplementedException();
}
#endregion
#region SavePicture
public Picture SavePicture(string file, byte[] data)
{
throw new NotImplementedException();
}
public Picture SavePicture(string file, Stream data)
{
throw new NotImplementedException();
}
#endregion
#region GetPictureFromToken
public Picture GetPictureFromToken(string file)
{
throw new NotImplementedException();
}
#endregion
}
}

View File

@ -49,7 +49,146 @@
namespace ANX.Framework.Media
{
public class MediaPlayer
public static class MediaPlayer
{
public static bool IsShuffled
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public static bool IsRepeating
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public static float Volume
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public static bool IsMuted
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public static bool IsVisualizationEnabled
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public static MediaQueue Queue
{
get
{
throw new NotImplementedException();
}
}
public static MediaState State
{
get
{
throw new NotImplementedException();
}
}
public static TimeSpan PlayPosition
{
get
{
throw new NotImplementedException();
}
}
public static bool GameHasControl
{
get
{
throw new NotImplementedException();
}
}
public static event EventHandler<EventArgs> ActiveSongChanged;
public static event EventHandler<EventArgs> MediaStateChanged;
public static void Play(Song song)
{
throw new NotImplementedException();
}
public static void Play(SongCollection songCollection)
{
throw new NotImplementedException();
}
public static void Play(SongCollection songCollection, int index)
{
throw new NotImplementedException();
}
public static void Pause()
{
throw new NotImplementedException();
}
public static void Resume()
{
throw new NotImplementedException();
}
public static void Stop()
{
throw new NotImplementedException();
}
public static void MoveNext()
{
throw new NotImplementedException();
}
public static void MovePrevious()
{
throw new NotImplementedException();
}
public static void GetVisualizationData(VisualizationData data)
{
throw new NotImplementedException();
}
}
}

View File

@ -49,7 +49,42 @@
namespace ANX.Framework.Media
{
public class MediaQueue
public sealed class MediaQueue
{
public int Count
{
get
{
throw new NotImplementedException();
}
}
public int ActiveSongIndex
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public Song ActiveSong
{
get
{
throw new NotImplementedException();
}
}
public Song this[int index]
{
get
{
throw new NotImplementedException();
}
}
}
}

View File

@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
#region License
@ -49,7 +50,32 @@
namespace ANX.Framework.Media
{
public class MediaSource
public sealed class MediaSource
{
public string Name
{
get
{
throw new NotImplementedException();
}
}
public MediaSourceType MediaSourceType
{
get
{
throw new NotImplementedException();
}
}
public IList<MediaSource> GetAvailableMediaSources()
{
throw new NotImplementedException();
}
public override string ToString()
{
throw new NotImplementedException();
}
}
}

View File

@ -1,4 +1,5 @@
using System;
using System.IO;
#region License
@ -49,7 +50,104 @@
namespace ANX.Framework.Media
{
public class Picture
public sealed class Picture : IEquatable<Picture>, IDisposable
{
public bool IsDisposed
{
get
{
throw new NotImplementedException();
}
}
public string Name
{
get
{
throw new NotImplementedException();
}
}
public PictureAlbum Album
{
get
{
throw new NotImplementedException();
}
}
public int Width
{
get
{
throw new NotImplementedException();
}
}
public int Height
{
get
{
throw new NotImplementedException();
}
}
public DateTime Date
{
get
{
throw new NotImplementedException();
}
}
~Picture()
{
Dispose();
}
public Stream GetImage()
{
throw new NotImplementedException();
}
public Stream GetThumbnail()
{
throw new NotImplementedException();
}
public bool Equals(Picture other)
{
throw new NotImplementedException();
}
public override bool Equals(object obj)
{
throw new NotImplementedException();
}
public void Dispose()
{
throw new NotImplementedException();
}
public override string ToString()
{
throw new NotImplementedException();
}
public override int GetHashCode()
{
throw new NotImplementedException();
}
public static bool operator ==(Picture first, Picture second)
{
throw new NotImplementedException();
}
public static bool operator !=(Picture first, Picture second)
{
throw new NotImplementedException();
}
}
}

View File

@ -49,7 +49,86 @@
namespace ANX.Framework.Media
{
public class PictureAlbum
public sealed class PictureAlbum : IEquatable<PictureAlbum>, IDisposable
{
public bool IsDisposed
{
get
{
throw new NotImplementedException();
}
}
public string Name
{
get
{
throw new NotImplementedException();
}
}
public PictureAlbumCollection Albums
{
get
{
throw new NotImplementedException();
}
}
public PictureCollection Pictures
{
get
{
throw new NotImplementedException();
}
}
public PictureAlbum Parent
{
get
{
throw new NotImplementedException();
}
}
~PictureAlbum()
{
Dispose();
}
public bool Equals(PictureAlbum other)
{
throw new NotImplementedException();
}
public override bool Equals(object obj)
{
throw new NotImplementedException();
}
public void Dispose()
{
throw new NotImplementedException();
}
public override string ToString()
{
throw new NotImplementedException();
}
public override int GetHashCode()
{
throw new NotImplementedException();
}
public static bool operator ==(PictureAlbum first, PictureAlbum second)
{
throw new NotImplementedException();
}
public static bool operator !=(PictureAlbum first, PictureAlbum second)
{
throw new NotImplementedException();
}
}
}

View File

@ -49,7 +49,78 @@
namespace ANX.Framework.Media
{
public class Playlist
public sealed class Playlist : IEquatable<Playlist>, IDisposable
{
public bool IsDisposed
{
get
{
throw new NotImplementedException();
}
}
public string Name
{
get
{
throw new NotImplementedException();
}
}
public SongCollection Songs
{
get
{
throw new NotImplementedException();
}
}
public TimeSpan Duration
{
get
{
throw new NotImplementedException();
}
}
~Playlist()
{
Dispose();
}
public bool Equals(Playlist other)
{
throw new NotImplementedException();
}
public override bool Equals(object obj)
{
throw new NotImplementedException();
}
public void Dispose()
{
throw new NotImplementedException();
}
public override string ToString()
{
throw new NotImplementedException();
}
public override int GetHashCode()
{
throw new NotImplementedException();
}
public static bool operator ==(Playlist first, Playlist second)
{
throw new NotImplementedException();
}
public static bool operator !=(Playlist first, Playlist second)
{
throw new NotImplementedException();
}
}
}

View File

@ -49,7 +49,139 @@
namespace ANX.Framework.Media
{
public class Song
public sealed class Song : IEquatable<Song>, IDisposable
{
public bool IsDisposed
{
get
{
throw new NotImplementedException();
}
}
public string Name
{
get
{
throw new NotImplementedException();
}
}
public bool IsRated
{
get
{
throw new NotImplementedException();
}
}
public Artist Artist
{
get
{
throw new NotImplementedException();
}
}
public Album Album
{
get
{
throw new NotImplementedException();
}
}
public Genre Genre
{
get
{
throw new NotImplementedException();
}
}
public TimeSpan Duration
{
get
{
throw new NotImplementedException();
}
}
public int Rating
{
get
{
throw new NotImplementedException();
}
}
public int PlayCount
{
get
{
throw new NotImplementedException();
}
}
public int TrackNumber
{
get
{
throw new NotImplementedException();
}
}
public bool IsProtected
{
get
{
throw new NotImplementedException();
}
}
~Song()
{
Dispose();
}
public Song FromUri(string name, Uri uri)
{
throw new NotImplementedException();
}
public bool Equals(Song other)
{
throw new NotImplementedException();
}
public override bool Equals(object obj)
{
throw new NotImplementedException();
}
public void Dispose()
{
throw new NotImplementedException();
}
public override string ToString()
{
throw new NotImplementedException();
}
public override int GetHashCode()
{
throw new NotImplementedException();
}
public static bool operator ==(Song first, Song second)
{
throw new NotImplementedException();
}
public static bool operator !=(Song first, Song second)
{
throw new NotImplementedException();
}
}
}

View File

@ -49,7 +49,46 @@
namespace ANX.Framework.Media
{
public class Video
public sealed class Video
{
public TimeSpan Duration
{
get
{
throw new NotImplementedException();
}
}
public int Width
{
get
{
throw new NotImplementedException();
}
}
public int Height
{
get
{
throw new NotImplementedException();
}
}
public float FramesPerSecond
{
get
{
throw new NotImplementedException();
}
}
public VideoSoundtrackType VideoSoundtrackType
{
get
{
throw new NotImplementedException();
}
}
}
}

View File

@ -1,4 +1,5 @@
using System;
using ANX.Framework.Graphics;
#region License
@ -49,7 +50,97 @@
namespace ANX.Framework.Media
{
public class VideoPlayer
public sealed class VideoPlayer : IDisposable
{
public bool IsDisposed
{
get
{
throw new NotImplementedException();
}
}
public TimeSpan PlayPosition
{
get
{
throw new NotImplementedException();
}
}
public float Volume
{
get
{
throw new NotImplementedException();
}
}
public bool IsMuted
{
get
{
throw new NotImplementedException();
}
}
public bool IsLooped
{
get
{
throw new NotImplementedException();
}
}
public Video Video
{
get
{
throw new NotImplementedException();
}
}
public MediaState State
{
get
{
throw new NotImplementedException();
}
}
~VideoPlayer()
{
Dispose();
}
public void Dispose()
{
throw new NotImplementedException();
}
public void Play(Video video)
{
throw new NotImplementedException();
}
public void Pause()
{
throw new NotImplementedException();
}
public void Resume()
{
throw new NotImplementedException();
}
public void Stop()
{
throw new NotImplementedException();
}
public Texture2D GetTexture()
{
throw new NotImplementedException();
}
}
}

View File

@ -1,4 +1,5 @@
using System;
using System.Collections.ObjectModel;
#region License
@ -51,5 +52,20 @@ namespace ANX.Framework.Media
{
public class VisualizationData
{
public ReadOnlyCollection<float> Frequencies
{
get
{
throw new NotImplementedException();
}
}
public ReadOnlyCollection<float> Samples
{
get
{
throw new NotImplementedException();
}
}
}
}

View File

@ -49,7 +49,7 @@
namespace ANX.Framework.Net
{
public class AvailableNetworkSessionCollection
public sealed class AvailableNetworkSessionCollection
{
}
}

View File

@ -49,7 +49,7 @@
namespace ANX.Framework.Net
{
public class LocalNetworkGamer
public sealed class LocalNetworkGamer : NetworkGamer
{
}
}

View File

@ -1,4 +1,5 @@
using System;
using ANX.Framework.GamerServices;
#region License
@ -49,7 +50,114 @@
namespace ANX.Framework.Net
{
public class NetworkGamer
public class NetworkGamer : Gamer
{
public bool IsHost
{
get
{
throw new NotImplementedException();
}
}
public bool IsLocal
{
get
{
throw new NotImplementedException();
}
}
public bool IsPrivateSlot
{
get
{
throw new NotImplementedException();
}
}
public bool HasVoice
{
get
{
throw new NotImplementedException();
}
}
public bool IsTalking
{
get
{
throw new NotImplementedException();
}
}
public bool IsMutedByLocalUser
{
get
{
throw new NotImplementedException();
}
}
public bool IsGuest
{
get
{
throw new NotImplementedException();
}
}
public bool HasLeftSession
{
get
{
throw new NotImplementedException();
}
}
public byte Id
{
get
{
throw new NotImplementedException();
}
}
public TimeSpan RoundtripTime
{
get
{
throw new NotImplementedException();
}
}
public NetworkSession Session
{
get
{
throw new NotImplementedException();
}
}
public NetworkMachine Machine
{
get
{
throw new NotImplementedException();
}
}
public bool IsReady
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
}
}

View File

@ -1,4 +1,5 @@
using System;
using ANX.Framework.GamerServices;
#region License
@ -49,7 +50,19 @@
namespace ANX.Framework.Net
{
public class NetworkMachine
public sealed class NetworkMachine
{
public GamerCollection<NetworkGamer> Gamers
{
get
{
throw new NotImplementedException();
}
}
public void RemoveFromSession()
{
throw new NotImplementedException();
}
}
}

View File

@ -49,7 +49,7 @@
namespace ANX.Framework.Net
{
public class NetworkSession
public sealed class NetworkSession
{
}
}