src/video/uikit/SDL_uikitview.h
author Holmes Futrell <hfutrell@umail.ucsb.edu>
Tue, 22 Jul 2008 23:05:40 +0000
branchgsoc2008_iphone
changeset 2403 e9a1eed243c9
parent 2353 07acabba25d9
permissions -rw-r--r--
Added standard SDL header comments
hfutrell@2403
     1
/*
hfutrell@2403
     2
 SDL - Simple DirectMedia Layer
hfutrell@2403
     3
 Copyright (C) 1997-2006 Sam Lantinga
hfutrell@2403
     4
 
hfutrell@2403
     5
 This library is free software; you can redistribute it and/or
hfutrell@2403
     6
 modify it under the terms of the GNU Lesser General Public
hfutrell@2403
     7
 License as published by the Free Software Foundation; either
hfutrell@2403
     8
 version 2.1 of the License, or (at your option) any later version.
hfutrell@2403
     9
 
hfutrell@2403
    10
 This library is distributed in the hope that it will be useful,
hfutrell@2403
    11
 but WITHOUT ANY WARRANTY; without even the implied warranty of
hfutrell@2403
    12
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
hfutrell@2403
    13
 Lesser General Public License for more details.
hfutrell@2403
    14
 
hfutrell@2403
    15
 You should have received a copy of the GNU Lesser General Public
hfutrell@2403
    16
 License along with this library; if not, write to the Free Software
hfutrell@2403
    17
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
hfutrell@2403
    18
 
hfutrell@2403
    19
 Sam Lantinga
hfutrell@2403
    20
 slouken@libsdl.org
hfutrell@2403
    21
 */
hfutrell@2353
    22
hfutrell@2353
    23
#import <UIKit/UIKit.h>
hfutrell@2353
    24
#include "SDL_stdinc.h"
hfutrell@2353
    25
#include "SDL_mouse.h"
hfutrell@2353
    26
#include "SDL_mouse_c.h"
hfutrell@2353
    27
#include "SDL_events.h"
hfutrell@2353
    28
hfutrell@2353
    29
#define MAX_SIMULTANEOUS_TOUCHES 5
hfutrell@2353
    30
hfutrell@2353
    31
@interface SDL_uikitview : UIView {
hfutrell@2353
    32
		
hfutrell@2353
    33
	SDL_Mouse mice[MAX_SIMULTANEOUS_TOUCHES];
hfutrell@2353
    34
	
hfutrell@2353
    35
}
hfutrell@2353
    36
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
hfutrell@2353
    37
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
hfutrell@2353
    38
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;
hfutrell@2353
    39
hfutrell@2353
    40
@end