RSS

(root)/iphone/tappity : 46 : tappity/source/Tappity.h

To get this branch, use:
bzr branch /browse/iphone/tappity

« back to all changes in this revision

Viewing changes to tappity/source/Tappity.h

Dömötör Gulyás
2009-10-27 01:03:19
Revision ID: dognotdog@gmail.com-20091027000319-1vrkixkgf9lkud6g
adds tappity project

Show diffs side-by-side

added added

removed removed

 
1
//
 
2
//  Tappity.h
 
3
//  tappity
 
4
//
 
5
//  Created by döme on 25.10.2009.
 
6
//  Copyright 2009 __MyCompanyName__. All rights reserved.
 
7
//
 
8
 
 
9
#import <Foundation/Foundation.h>
 
10
#import "GraphicsServices.h"
 
11
 
 
12
extern NSString* TapIdKey;
 
13
extern NSString* TapTouchesKey;
 
14
extern NSString* TapGSEventKey;
 
15
extern NSString* TapTouchPhaseKey;
 
16
extern NSString* TapRecordedEventKey;
 
17
 
 
18
enum
 
19
{
 
20
        kTapTouchEvent,
 
21
        kTapTouchBegan,
 
22
        kTapTouchMoved,
 
23
        kTapTouchEnded,
 
24
        kTapTouchCancelled,
 
25
        kTapRecordedEvent,
 
26
        kTap_
 
27
};
 
28
 
 
29
void _printGSEvent(UIEvent* event);
 
30
 
 
31
@interface UIEvent (TappityPrivate)
 
32
- (id)_initWithEvent:(GSEventRef) event touches: (id) touches;
 
33
- (GSEventRef)_gsEvent;
 
34
 
 
35
@end
 
36
 
 
37
@interface UITouch (TappityPrivate)
 
38
+ (id)_createTouchesWithGSEvent:(GSEvent *)arg1 phase:(int)arg2 view:(id)arg3;
 
39
- (void)_setIsFirstTouchForView:(BOOL)arg1;
 
40
- (BOOL)_isFirstTouchForView;
 
41
- (void)setTimestamp:(double)arg1;
 
42
- (void)setPhase:(int)arg1;
 
43
- (void)setTapCount:(unsigned int)arg1;
 
44
- (void)setIsTap:(BOOL)arg1;
 
45
- (void)setIsWarped:(BOOL)arg1;
 
46
- (void)setWindow:(id)arg1;
 
47
- (void)setView:(id)arg1;
 
48
- (void)setGestureView:(id)arg1;
 
49
- (id)gestureView;
 
50
- (void)_setLocationInWindow:(struct CGPoint)arg1 resetPrevious:(BOOL)arg2;
 
51
- (id)description;
 
52
- (void)_addGestureRecognizer:(id)arg1;
 
53
- (void)_removeGestureRecognizer:(id)arg1;
 
54
- (id)_gestureRecognizers;
 
55
- (void)_clearGestureRecognizers;
 
56
- (BOOL)_touchesBeganWasDelayed;
 
57
- (void)_pushPhase:(int)arg1;
 
58
- (void)_popPhase;
 
59
- (struct CGPoint)_locationInWindow:(id)arg1;
 
60
@end
 
61
 
 
62
 
 
63
@interface Tappity : NSObject {
 
64
 
 
65
}
 
66
 
 
67
@end

Loggerhead 1.17 is a web-based interface for Bazaar branches