// // Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // winrtangleutils.h: utility functions for handling Angle WinRT types #ifndef WINRT_ANGLE_UTILS_H_ #define WINRT_ANGLE_UTILS_H_ #include "common/winrtangle.h" #include #include #include namespace winrtangleutils { HRESULT getIWinRTWindow(Microsoft::WRL::ComPtr& iWindow, Microsoft::WRL::ComPtr *iWinRTWindow); HRESULT getIPhoneXamlWindow(Microsoft::WRL::ComPtr& iWindow, Microsoft::WRL::ComPtr *iPhoneXamlWindow); HRESULT getWindowSize(Microsoft::WRL::ComPtr& iWindow, int& width, int& height); bool hasIPhoneXamlWindow(Microsoft::WRL::ComPtr& iWindow); } //namespace winrtangleutils #endif // WINRT_ANGLE_UTILS_H_