RSS

(root)/iphone/tappity : 49 : 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-28 22:34:56
Revision ID: dognotdog@gmail.com-20091028213456-9pjbddhboknsf5w8
tappity now no longer eating some events

Show diffs side-by-side

added added

removed removed

7
7
//
8
8
 
9
9
#import <Foundation/Foundation.h>
10
 
#import "GraphicsServices.h"
 
10
#import <UIKit/UIKit.h>
 
11
//#import "GraphicsServices.h"
11
12
 
12
13
extern NSString* TapIdKey;
13
14
extern NSString* TapTouchesKey;
32
33
        kTap_
33
34
};
34
35
 
35
 
void _printGSEvent(UIEvent* event);
 
36
// void _printGSEvent(UIEvent* event);
36
37
 
37
38
@interface UIAccelerometer (TappityPrivate)
38
39
- (void)_acceleratedInX:(double)arg1 y:(double)arg2 z:(double)arg3 timestamp:(double)arg4;
39
40
@end
40
41
 
 
42
@interface UIApplication (TappityPrivate)
 
43
- (void)_playbackEvents:(id)arg1 atPlaybackRate:(float)arg2 messageWhenDone:(id)arg3 withSelector:(SEL)arg4;
 
44
- (void)_addRecorder:(id)arg1;
 
45
@end
 
46
 
 
47
/*
41
48
@interface UIEvent (TappityPrivate)
42
49
- (id)_initWithEvent:(GSEventRef) event touches: (id) touches;
43
50
- (GSEventRef)_gsEvent;
68
75
- (void)_popPhase;
69
76
- (struct CGPoint)_locationInWindow:(id)arg1;
70
77
@end
 
78
*/
71
79
 
72
80
 
73
81
@interface Tappity : NSObject
78
86
        int threadIds;
79
87
 
80
88
        NSMutableArray*         sendQueue;
81
 
        
82
89
        NSCondition*            sendLock;
83
90
 
 
91
        NSMutableArray*         processingQueue;
 
92
        NSCondition*            processingLock;
 
93
 
84
94
        uint32_t                expectedMessageSize, currentlyRead;
85
95
        NSMutableData*  currentData;
86
96
        

Loggerhead 1.17 is a web-based interface for Bazaar branches