src/video/uikit/SDL_uikitviewcontroller.m
changeset 6044 35448a5ea044
parent 6011 83a21d3bd5c1
child 6077 ee00e4b80f79
     1.1 --- a/src/video/uikit/SDL_uikitviewcontroller.m	Mon Oct 31 03:06:32 2011 -0400
     1.2 +++ b/src/video/uikit/SDL_uikitviewcontroller.m	Mon Oct 31 05:56:58 2011 -0400
     1.3 @@ -1,25 +1,27 @@
     1.4  /*
     1.5 - Simple DirectMedia Layer
     1.6 - Copyright (C) 1997-2011 Sam Lantinga <slouken@libsdl.org>
     1.7 +  Simple DirectMedia Layer
     1.8 +  Copyright (C) 1997-2011 Sam Lantinga <slouken@libsdl.org>
     1.9  
    1.10 - This software is provided 'as-is', without any express or implied
    1.11 - warranty.  In no event will the authors be held liable for any damages
    1.12 - arising from the use of this software.
    1.13 +  This software is provided 'as-is', without any express or implied
    1.14 +  warranty.  In no event will the authors be held liable for any damages
    1.15 +  arising from the use of this software.
    1.16  
    1.17 - Permission is granted to anyone to use this software for any purpose,
    1.18 - including commercial applications, and to alter it and redistribute it
    1.19 - freely, subject to the following restrictions:
    1.20 +  Permission is granted to anyone to use this software for any purpose,
    1.21 +  including commercial applications, and to alter it and redistribute it
    1.22 +  freely, subject to the following restrictions:
    1.23  
    1.24 - 1. The origin of this software must not be misrepresented; you must not
    1.25 - claim that you wrote the original software. If you use this software
    1.26 - in a product, an acknowledgment in the product documentation would be
    1.27 - appreciated but is not required.
    1.28 - 2. Altered source versions must be plainly marked as such, and must not be
    1.29 - misrepresented as being the original software.
    1.30 - 3. This notice may not be removed or altered from any source distribution.
    1.31 - */
    1.32 +  1. The origin of this software must not be misrepresented; you must not
    1.33 +     claim that you wrote the original software. If you use this software
    1.34 +     in a product, an acknowledgment in the product documentation would be
    1.35 +     appreciated but is not required.
    1.36 +  2. Altered source versions must be plainly marked as such, and must not be
    1.37 +     misrepresented as being the original software.
    1.38 +  3. This notice may not be removed or altered from any source distribution.
    1.39 +*/
    1.40  #include "SDL_config.h"
    1.41  
    1.42 +#if SDL_VIDEO_DRIVER_UIKIT
    1.43 +
    1.44  #include "SDL_video.h"
    1.45  #include "SDL_assert.h"
    1.46  #include "SDL_hints.h"
    1.47 @@ -150,4 +152,6 @@
    1.48      SDL_SendWindowEvent(self->window, SDL_WINDOWEVENT_RESIZED, w, h);
    1.49  }
    1.50  
    1.51 +#endif /* SDL_VIDEO_DRIVER_UIKIT */
    1.52 +
    1.53  @end