Skip to content

Commit a27a95e

Browse files
ThomasFOGviniciusjarina
authored andcommitted
Fix DesktopGL for documentation generation (MonoGame#8142)
1 parent 92f0253 commit a27a95e

File tree

3 files changed

+97
-5
lines changed

3 files changed

+97
-5
lines changed

MonoGame.Framework/MonoGame.Framework.DesktopGL.csproj

+4-5
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@
3737

3838
<ItemGroup>
3939
<Compile Remove="Graphics\GraphicsAdapter.cs" />
40-
<Compile Remove="Media\Video.cs" />
41-
<Compile Remove="Media\VideoPlayer.cs" />
42-
<Compile Remove="Content\ContentReaders\VideoReader.cs" />
43-
<Compile Remove="Input\MessageBox.cs" />
44-
<Compile Remove="Input\KeyboardInput.cs" />
4540
</ItemGroup>
4641

4742
<ItemGroup>
@@ -61,14 +56,18 @@
6156
<Compile Include="Platform\Media\MediaLibrary.Default.cs" />
6257
<Compile Include="Platform\Media\MediaPlayer.Default.cs" />
6358
<Compile Include="Platform\Media\Song.NVorbis.cs" />
59+
<Compile Include="Platform\Media\VideoPlayer.Default.cs" />
60+
<Compile Include="Platform\Media\Video.Default.cs" />
6461
<Compile Include="Platform\Input\GamePad.SDL.cs" />
6562
<Compile Include="Platform\Input\InputKeyEventArgs.cs" />
6663
<Compile Include="Platform\Input\Joystick.SDL.cs" />
6764
<Compile Include="Platform\Input\Keyboard.SDL.cs" />
6865
<Compile Include="Platform\Input\KeyboardUtil.SDL.cs" />
66+
<Compile Include="Platform\Input\KeyboardInput.Default.cs" />
6967
<Compile Include="Platform\Input\KeysHelper.cs" />
7068
<Compile Include="Platform\Input\Mouse.SDL.cs" />
7169
<Compile Include="Platform\Input\MouseCursor.SDL.cs" />
70+
<Compile Include="Platform\Input\MessageBox.Default.cs" />
7271
<Compile Include="Platform\Graphics\GraphicsContext.SDL.cs" />
7372
<Compile Include="Platform\Graphics\OpenGL.SDL.cs" />
7473
<Compile Include="Platform\Graphics\WindowInfo.SDL.cs" />
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// MonoGame - Copyright (C) The MonoGame Team
2+
// This file is subject to the terms and conditions defined in
3+
// file 'LICENSE.txt', which is part of this source code package.
4+
5+
using System;
6+
7+
namespace Microsoft.Xna.Framework.Media
8+
{
9+
public sealed partial class Video : IDisposable
10+
{
11+
private void PlatformInitialize()
12+
{
13+
throw new NotImplementedException("Video is not implemented on this platform.");
14+
}
15+
16+
private void PlatformDispose(bool disposing)
17+
{
18+
throw new NotImplementedException("Video is not implemented on this platform.");
19+
}
20+
}
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
// MonoGame - Copyright (C) The MonoGame Team
2+
// This file is subject to the terms and conditions defined in
3+
// file 'LICENSE.txt', which is part of this source code package.
4+
5+
using System;
6+
using Microsoft.Xna.Framework.Graphics;
7+
8+
namespace Microsoft.Xna.Framework.Media
9+
{
10+
public sealed partial class VideoPlayer : IDisposable
11+
{
12+
private void PlatformInitialize()
13+
{
14+
throw new NotImplementedException("VideoPlayer is not implemented on this platform.");
15+
}
16+
17+
private Texture2D PlatformGetTexture()
18+
{
19+
throw new NotImplementedException("VideoPlayer is not implemented on this platform.");
20+
}
21+
22+
private void PlatformGetState(ref MediaState result)
23+
{
24+
throw new NotImplementedException("VideoPlayer is not implemented on this platform.");
25+
}
26+
27+
private void PlatformPause()
28+
{
29+
throw new NotImplementedException("VideoPlayer is not implemented on this platform.");
30+
}
31+
32+
private void PlatformResume()
33+
{
34+
throw new NotImplementedException("VideoPlayer is not implemented on this platform.");
35+
}
36+
37+
private void PlatformPlay()
38+
{
39+
throw new NotImplementedException("VideoPlayer is not implemented on this platform.");
40+
}
41+
42+
private void PlatformStop()
43+
{
44+
throw new NotImplementedException("VideoPlayer is not implemented on this platform.");
45+
}
46+
47+
private void PlatformSetIsLooped()
48+
{
49+
throw new NotImplementedException("VideoPlayer is not implemented on this platform.");
50+
}
51+
52+
private void PlatformSetIsMuted()
53+
{
54+
throw new NotImplementedException("VideoPlayer is not implemented on this platform.");
55+
}
56+
57+
private TimeSpan PlatformGetPlayPosition()
58+
{
59+
throw new NotImplementedException("VideoPlayer is not implemented on this platform.");
60+
}
61+
62+
private void PlatformSetVolume()
63+
{
64+
throw new NotImplementedException("VideoPlayer is not implemented on this platform.");
65+
}
66+
67+
private void PlatformDispose(bool disposing)
68+
{
69+
throw new NotImplementedException("VideoPlayer is not implemented on this platform.");
70+
}
71+
}
72+
}

0 commit comments

Comments
 (0)