src/video/winrt/SDL_winrtevents_c.h
changeset 8489 7fd62b320c31
parent 8483 d403ded25942
child 8494 5d165785918d
equal deleted inserted replaced
8488:bb48911cd9c8 8489:7fd62b320c31
    17   2. Altered source versions must be plainly marked as such, and must not be
    17   2. Altered source versions must be plainly marked as such, and must not be
    18      misrepresented as being the original software.
    18      misrepresented as being the original software.
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
    21 #include "SDL_config.h"
    21 #include "SDL_config.h"
       
    22 #include "SDL_winrtvideo.h"
    22 
    23 
    23 #include "SDL_winrtvideo.h"
    24 /*
       
    25  * Internal-use, C-style functions:
       
    26  */
       
    27 
       
    28 #ifdef __cplusplus
       
    29 extern "C" {
       
    30 #endif
    24 
    31 
    25 extern void WINRT_PumpEvents(_THIS);
    32 extern void WINRT_PumpEvents(_THIS);
    26 
    33 
       
    34 #ifdef __cplusplus
       
    35 }
       
    36 #endif
       
    37 
       
    38 
       
    39 /*
       
    40  * Internal-use, C++/CX functions:
       
    41  */
       
    42 #ifdef __cplusplus_winrt
       
    43 
       
    44 /* Keyboard */
       
    45 extern void WINRT_ProcessKeyDownEvent(Windows::UI::Core::KeyEventArgs ^args);
       
    46 extern void WINRT_ProcessKeyUpEvent(Windows::UI::Core::KeyEventArgs ^args);
       
    47 
       
    48 /* Pointers (Mice, Touch, etc.) */
       
    49 extern void WINRT_ProcessMouseMovedEvent(SDL_Window * window, Windows::Devices::Input::MouseEventArgs ^args);
       
    50 extern void WINRT_ProcessPointerMovedEvent(SDL_Window *window, Windows::UI::Core::PointerEventArgs ^args);
       
    51 extern void WINRT_ProcessPointerWheelChangedEvent(SDL_Window *window, Windows::UI::Core::PointerEventArgs ^args);
       
    52 extern void WINRT_ProcessPointerReleasedEvent(SDL_Window *window, Windows::UI::Core::PointerEventArgs ^args);
       
    53 extern void WINRT_ProcessPointerPressedEvent(SDL_Window *window, Windows::UI::Core::PointerEventArgs ^args);
       
    54 
       
    55 #endif
       
    56 
    27 /* vi: set ts=4 sw=4 expandtab: */
    57 /* vi: set ts=4 sw=4 expandtab: */