view test/automated/platform/platform.h @ 5056:8b7988f42fcb

Added the ability to get the UIKit window through the SDL API. You can also do this through the native API: UIWindow *window = [[UIApplication sharedApplication] keyWindow]; Also needed to name the union for events and window info.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 20 Jan 2011 16:05:59 -0800
parents 0c429a5fda8a
children
line wrap: on
line source

/**
 * Part of SDL test suite.
 *
 * Written by Edgar Simo "bobbens"
 *
 * Released under Public Domain.
 */


#ifndef _TEST_PLATFORM
#  define _TEST_PLATFORM


int test_platform (void);


#endif /* _TEST_PLATFORM */