|
@@ -169,6 +169,25 @@ typedef enum
|
|
|
} SDL_WinRT_Path;
|
|
|
|
|
|
|
|
|
+/**
|
|
|
+ * \brief WinRT Device Family
|
|
|
+ */
|
|
|
+typedef enum
|
|
|
+{
|
|
|
+ /** \brief Unknown family */
|
|
|
+ SDL_WINRT_DEVICEFAMILY_UNKNOWN,
|
|
|
+
|
|
|
+ /** \brief Desktop family*/
|
|
|
+ SDL_WINRT_DEVICEFAMILY_DESKTOP,
|
|
|
+
|
|
|
+ /** \brief Mobile family (for example smartphone) */
|
|
|
+ SDL_WINRT_DEVICEFAMILY_MOBILE,
|
|
|
+
|
|
|
+ /** \brief XBox family */
|
|
|
+ SDL_WINRT_DEVICEFAMILY_XBOX,
|
|
|
+} SDL_WinRT_DeviceFamily;
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* \brief Retrieves a WinRT defined path on the local file system
|
|
|
*
|
|
@@ -203,6 +222,13 @@ extern DECLSPEC const wchar_t * SDLCALL SDL_WinRTGetFSPathUNICODE(SDL_WinRT_Path
|
|
|
*/
|
|
|
extern DECLSPEC const char * SDLCALL SDL_WinRTGetFSPathUTF8(SDL_WinRT_Path pathType);
|
|
|
|
|
|
+/**
|
|
|
+ * \brief Detects the device family of WinRT plattform on runtime
|
|
|
+ *
|
|
|
+ * \return Device family
|
|
|
+ */
|
|
|
+extern DECLSPEC SDL_WinRT_DeviceFamily SDLCALL SDL_WinRTGetDeviceFamily();
|
|
|
+
|
|
|
#endif /* __WINRT__ */
|
|
|
|
|
|
/* Ends C function definitions when using C++ */
|