Mercurial > sdl-ios-xcode
diff src/joystick/iphoneos/SDLUIAccelerationDelegate.h @ 2439:78bddf0c0fa2 gsoc2008_iphone
Cleaned up code, added comments.
author | Holmes Futrell <hfutrell@umail.ucsb.edu> |
---|---|
date | Fri, 15 Aug 2008 19:16:01 +0000 |
parents | 44fc2537ff9e |
children |
line wrap: on
line diff
--- a/src/joystick/iphoneos/SDLUIAccelerationDelegate.h Fri Aug 15 18:51:28 2008 +0000 +++ b/src/joystick/iphoneos/SDLUIAccelerationDelegate.h Fri Aug 15 19:16:01 2008 +0000 @@ -1,18 +1,31 @@ -// -// SDLUIAccelerationDelegate.h -// iPodSDL -// -// Created by Holmes Futrell on 6/21/08. -// Copyright 2008 __MyCompanyName__. All rights reserved. -// +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2006 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org + */ #import <UIKit/UIKit.h> -#import "SDL_stdinc.h" +#import <SDL_types.h> @interface SDLUIAccelerationDelegate: NSObject <UIAccelerometerDelegate> { UIAccelerationValue x, y, z; - //NSTimeInterval timestamp; BOOL isRunning; BOOL hasNewData;