00001 /* 00002 * sd-test.h 00003 * 00004 * Copyright (C) 2009,2010 Thomas A. Vaughan 00005 * All rights reserved. 00006 * 00007 * Routines to test a provided SourceDeviceFactory object 00008 */ 00009 00010 #ifndef GAMEPAD_SOURCE_DEVICE_SD_TEST_H__ 00011 #define GAMEPAD_SOURCE_DEVICE_SD_TEST_H__ 00012 00013 00014 // includes -------------------------------------------------------------------- 00015 #include "source-device.h" 00016 00017 00018 namespace gamepad { 00019 00020 00021 /// Given a SourceDeviceFactory object, this routine will allow a human user to 00022 /// test the factory and devices it exposes. Intended for diagnostic and 00023 /// test programs only. 00024 void testSourceDeviceFactory(IN SourceDeviceFactory * factory); 00025 00026 00027 }; // gamepad namespace 00028 00029 00030 #endif // GAMEPAD_SOURCE_DEVICE_SD_TEST_H__