mirror of
https://github.com/ppy/osu.git
synced 2025-01-18 21:02:56 +08:00
24 lines
623 B
C#
24 lines
623 B
C#
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||
|
// See the LICENCE file in the repository root for full licence text.
|
||
|
|
||
|
using System.IO;
|
||
|
using osu.Framework.iOS;
|
||
|
using osu.Framework.Platform;
|
||
|
using osu.Game.IO;
|
||
|
|
||
|
namespace osu.iOS
|
||
|
{
|
||
|
public class OsuStorageIOS : OsuStorage
|
||
|
{
|
||
|
private readonly IOSGameHost host;
|
||
|
|
||
|
public OsuStorageIOS(IOSGameHost host, Storage defaultStorage)
|
||
|
: base(host, defaultStorage)
|
||
|
{
|
||
|
this.host = host;
|
||
|
}
|
||
|
|
||
|
public override Storage GetExportStorage() => new IOSStorage(Path.GetTempPath(), host);
|
||
|
}
|
||
|
}
|