WinRT: renamed a mouse-related header file for naming-consistency's sake
authorDavid Ludwig <dludwig@pobox.com>
Mon, 02 Sep 2013 15:29:46 -0400
changeset 8516f3e0e381bdcd
parent 8515 bc6cf9201dab
child 8517 d7d86c917b1d
WinRT: renamed a mouse-related header file for naming-consistency's sake
VisualC-WinPhone/SDL/SDL_VS2012-WinPhone.vcxproj
VisualC-WinPhone/SDL/SDL_VS2012-WinPhone.vcxproj.filters
VisualC-WinRT/SDL/SDL_VS2012-WinRT.vcxproj
VisualC-WinRT/SDL/SDL_VS2012-WinRT.vcxproj.filters
src/video/winrt/SDL_winrtmouse.cpp
src/video/winrt/SDL_winrtmouse.h
src/video/winrt/SDL_winrtmouse_c.h
src/video/winrt/SDL_winrtpointerinput.cpp
src/video/winrt/SDL_winrtvideo.cpp
     1.1 --- a/VisualC-WinPhone/SDL/SDL_VS2012-WinPhone.vcxproj	Mon Sep 02 15:23:33 2013 -0400
     1.2 +++ b/VisualC-WinPhone/SDL/SDL_VS2012-WinPhone.vcxproj	Mon Sep 02 15:29:46 2013 -0400
     1.3 @@ -247,7 +247,7 @@
     1.4      <ClInclude Include="..\..\src\video\SDL_shape_internals.h" />
     1.5      <ClInclude Include="..\..\src\video\SDL_sysvideo.h" />
     1.6      <ClInclude Include="..\..\src\video\winrt\SDL_winrtevents_c.h" />
     1.7 -    <ClInclude Include="..\..\src\video\winrt\SDL_winrtmouse.h" />
     1.8 +    <ClInclude Include="..\..\src\video\winrt\SDL_winrtmouse_c.h" />
     1.9      <ClInclude Include="..\..\src\video\winrt\SDL_winrtvideo_cpp.h" />
    1.10    </ItemGroup>
    1.11    <ItemGroup>
     2.1 --- a/VisualC-WinPhone/SDL/SDL_VS2012-WinPhone.vcxproj.filters	Mon Sep 02 15:23:33 2013 -0400
     2.2 +++ b/VisualC-WinPhone/SDL/SDL_VS2012-WinPhone.vcxproj.filters	Mon Sep 02 15:29:46 2013 -0400
     2.3 @@ -330,15 +330,15 @@
     2.4      <ClInclude Include="..\..\src\video\winrt\SDL_winrtevents_c.h">
     2.5        <Filter>Source Files</Filter>
     2.6      </ClInclude>
     2.7 -    <ClInclude Include="..\..\src\video\winrt\SDL_winrtmouse.h">
     2.8 -      <Filter>Source Files</Filter>
     2.9 -    </ClInclude>
    2.10      <ClInclude Include="..\..\src\video\winrt\SDL_winrtvideo_cpp.h">
    2.11        <Filter>Source Files</Filter>
    2.12      </ClInclude>
    2.13      <ClInclude Include="..\..\src\core\winrt\SDL_winrtxaml_cpp.h">
    2.14        <Filter>Source Files</Filter>
    2.15      </ClInclude>
    2.16 +    <ClInclude Include="..\..\src\video\winrt\SDL_winrtmouse_c.h">
    2.17 +      <Filter>Source Files</Filter>
    2.18 +    </ClInclude>
    2.19    </ItemGroup>
    2.20    <ItemGroup>
    2.21      <ClCompile Include="..\..\src\atomic\SDL_atomic.c">
     3.1 --- a/VisualC-WinRT/SDL/SDL_VS2012-WinRT.vcxproj	Mon Sep 02 15:23:33 2013 -0400
     3.2 +++ b/VisualC-WinRT/SDL/SDL_VS2012-WinRT.vcxproj	Mon Sep 02 15:29:46 2013 -0400
     3.3 @@ -302,7 +302,7 @@
     3.4      <ClInclude Include="..\..\src\video\SDL_shape_internals.h" />
     3.5      <ClInclude Include="..\..\src\video\SDL_sysvideo.h" />
     3.6      <ClInclude Include="..\..\src\video\winrt\SDL_winrtevents_c.h" />
     3.7 -    <ClInclude Include="..\..\src\video\winrt\SDL_winrtmouse.h" />
     3.8 +    <ClInclude Include="..\..\src\video\winrt\SDL_winrtmouse_c.h" />
     3.9      <ClInclude Include="..\..\src\video\winrt\SDL_winrtvideo_cpp.h" />
    3.10    </ItemGroup>
    3.11    <ItemGroup>
     4.1 --- a/VisualC-WinRT/SDL/SDL_VS2012-WinRT.vcxproj.filters	Mon Sep 02 15:23:33 2013 -0400
     4.2 +++ b/VisualC-WinRT/SDL/SDL_VS2012-WinRT.vcxproj.filters	Mon Sep 02 15:29:46 2013 -0400
     4.3 @@ -596,9 +596,6 @@
     4.4      <ClInclude Include="..\..\src\video\winrt\SDL_winrtevents_c.h">
     4.5        <Filter>Source Files</Filter>
     4.6      </ClInclude>
     4.7 -    <ClInclude Include="..\..\src\video\winrt\SDL_winrtmouse.h">
     4.8 -      <Filter>Source Files</Filter>
     4.9 -    </ClInclude>
    4.10      <ClInclude Include="..\..\src\core\winrt\SDL_winrtapp.h">
    4.11        <Filter>Source Files</Filter>
    4.12      </ClInclude>
    4.13 @@ -608,6 +605,9 @@
    4.14      <ClInclude Include="..\..\src\core\winrt\SDL_winrtxaml_cpp.h">
    4.15        <Filter>Source Files</Filter>
    4.16      </ClInclude>
    4.17 +    <ClInclude Include="..\..\src\video\winrt\SDL_winrtmouse_c.h">
    4.18 +      <Filter>Source Files</Filter>
    4.19 +    </ClInclude>
    4.20    </ItemGroup>
    4.21    <ItemGroup>
    4.22      <Filter Include="Header Files">
     5.1 --- a/src/video/winrt/SDL_winrtmouse.cpp	Mon Sep 02 15:23:33 2013 -0400
     5.2 +++ b/src/video/winrt/SDL_winrtmouse.cpp	Mon Sep 02 15:29:46 2013 -0400
     5.3 @@ -44,7 +44,7 @@
     5.4  
     5.5  #include "../../core/winrt/SDL_winrtapp.h"
     5.6  #include "SDL_winrtvideo_cpp.h"
     5.7 -#include "SDL_winrtmouse.h"
     5.8 +#include "SDL_winrtmouse_c.h"
     5.9  
    5.10  
    5.11  extern "C" SDL_bool WINRT_UsingRelativeMouseMode = SDL_FALSE;
     6.1 --- a/src/video/winrt/SDL_winrtmouse.h	Mon Sep 02 15:23:33 2013 -0400
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,40 +0,0 @@
     6.4 -/*
     6.5 -  Simple DirectMedia Layer
     6.6 -  Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org>
     6.7 -
     6.8 -  This software is provided 'as-is', without any express or implied
     6.9 -  warranty.  In no event will the authors be held liable for any damages
    6.10 -  arising from the use of this software.
    6.11 -
    6.12 -  Permission is granted to anyone to use this software for any purpose,
    6.13 -  including commercial applications, and to alter it and redistribute it
    6.14 -  freely, subject to the following restrictions:
    6.15 -
    6.16 -  1. The origin of this software must not be misrepresented; you must not
    6.17 -     claim that you wrote the original software. If you use this software
    6.18 -     in a product, an acknowledgment in the product documentation would be
    6.19 -     appreciated but is not required.
    6.20 -  2. Altered source versions must be plainly marked as such, and must not be
    6.21 -     misrepresented as being the original software.
    6.22 -  3. This notice may not be removed or altered from any source distribution.
    6.23 -*/
    6.24 -#include "SDL_config.h"
    6.25 -
    6.26 -#ifndef _SDL_winrtmouse_h
    6.27 -#define _SDL_winrtmouse_h
    6.28 -
    6.29 -#ifdef __cplusplus
    6.30 -extern "C" {
    6.31 -#endif
    6.32 -
    6.33 -extern void WINRT_InitMouse(_THIS);
    6.34 -extern void WINRT_QuitMouse(_THIS);
    6.35 -extern SDL_bool WINRT_UsingRelativeMouseMode;
    6.36 -
    6.37 -#ifdef __cplusplus
    6.38 -}
    6.39 -#endif
    6.40 -
    6.41 -#endif /* _SDL_windowsmouse_h */
    6.42 -
    6.43 -/* vi: set ts=4 sw=4 expandtab: */
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/src/video/winrt/SDL_winrtmouse_c.h	Mon Sep 02 15:29:46 2013 -0400
     7.3 @@ -0,0 +1,40 @@
     7.4 +/*
     7.5 +  Simple DirectMedia Layer
     7.6 +  Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org>
     7.7 +
     7.8 +  This software is provided 'as-is', without any express or implied
     7.9 +  warranty.  In no event will the authors be held liable for any damages
    7.10 +  arising from the use of this software.
    7.11 +
    7.12 +  Permission is granted to anyone to use this software for any purpose,
    7.13 +  including commercial applications, and to alter it and redistribute it
    7.14 +  freely, subject to the following restrictions:
    7.15 +
    7.16 +  1. The origin of this software must not be misrepresented; you must not
    7.17 +     claim that you wrote the original software. If you use this software
    7.18 +     in a product, an acknowledgment in the product documentation would be
    7.19 +     appreciated but is not required.
    7.20 +  2. Altered source versions must be plainly marked as such, and must not be
    7.21 +     misrepresented as being the original software.
    7.22 +  3. This notice may not be removed or altered from any source distribution.
    7.23 +*/
    7.24 +#include "SDL_config.h"
    7.25 +
    7.26 +#ifndef _SDL_winrtmouse_h
    7.27 +#define _SDL_winrtmouse_h
    7.28 +
    7.29 +#ifdef __cplusplus
    7.30 +extern "C" {
    7.31 +#endif
    7.32 +
    7.33 +extern void WINRT_InitMouse(_THIS);
    7.34 +extern void WINRT_QuitMouse(_THIS);
    7.35 +extern SDL_bool WINRT_UsingRelativeMouseMode;
    7.36 +
    7.37 +#ifdef __cplusplus
    7.38 +}
    7.39 +#endif
    7.40 +
    7.41 +#endif /* _SDL_windowsmouse_h */
    7.42 +
    7.43 +/* vi: set ts=4 sw=4 expandtab: */
     8.1 --- a/src/video/winrt/SDL_winrtpointerinput.cpp	Mon Sep 02 15:23:33 2013 -0400
     8.2 +++ b/src/video/winrt/SDL_winrtpointerinput.cpp	Mon Sep 02 15:29:46 2013 -0400
     8.3 @@ -24,7 +24,7 @@
     8.4  
     8.5  /* SDL includes */
     8.6  #include "SDL_winrtevents_c.h"
     8.7 -#include "SDL_winrtmouse.h"
     8.8 +#include "SDL_winrtmouse_c.h"
     8.9  #include "SDL_winrtvideo_cpp.h"
    8.10  #include "SDL_assert.h"
    8.11  #include "SDL_system.h"
     9.1 --- a/src/video/winrt/SDL_winrtvideo.cpp	Mon Sep 02 15:23:33 2013 -0400
     9.2 +++ b/src/video/winrt/SDL_winrtvideo.cpp	Mon Sep 02 15:29:46 2013 -0400
     9.3 @@ -48,7 +48,7 @@
     9.4  #include "../../core/winrt/SDL_winrtxaml_cpp.h"
     9.5  #include "SDL_winrtvideo_cpp.h"
     9.6  #include "SDL_winrtevents_c.h"
     9.7 -#include "SDL_winrtmouse.h"
     9.8 +#include "SDL_winrtmouse_c.h"
     9.9  #include "SDL_main.h"
    9.10  #include "SDL_system.h"
    9.11