34 lines
1004 B
C#
34 lines
1004 B
C#
using System.IO;
|
|
using ANX.Framework.NonXNA.PlatformSystem;
|
|
using ANX.Framework.NonXNA.Development;
|
|
|
|
// This file is part of the ANX.Framework created by the
|
|
// "ANX.Framework developer group" and released under the Ms-PL license.
|
|
// For details see: http://anxframework.codeplex.com/license
|
|
|
|
namespace ANX.Framework
|
|
{
|
|
[PercentageComplete(100)]
|
|
[TestState(TestStateAttribute.TestState.Untested)]
|
|
[Developer("AstrorEnales")]
|
|
public static class TitleContainer
|
|
{
|
|
private static readonly INativeTitleContainer nativeImplementation;
|
|
|
|
static TitleContainer()
|
|
{
|
|
nativeImplementation = PlatformSystem.Instance.CreateTitleContainer();
|
|
}
|
|
|
|
public static Stream OpenStream(string name)
|
|
{
|
|
return nativeImplementation.OpenStream(name);
|
|
}
|
|
|
|
internal static string GetCleanPath(string path)
|
|
{
|
|
return nativeImplementation.GetCleanPath(path);
|
|
}
|
|
}
|
|
}
|