forked from eczarny/spectacle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSpectacleHistoryItem.h
37 lines (22 loc) · 926 Bytes
/
SpectacleHistoryItem.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#import <Foundation/Foundation.h>
#import <ZeroKit/ZeroKit.h>
@interface SpectacleHistoryItem : NSObject {
ZKAccessibilityElement *accessibilityElement;
CGRect windowRect;
SpectacleHistoryItem *nextHistoryItem;
SpectacleHistoryItem *previousHistoryItem;
}
- (id)initWithAccessibilityElement: (ZKAccessibilityElement *)anAccessibilityElement windowRect: (CGRect)aWindowRect;
#pragma mark -
+ (SpectacleHistoryItem *)historyItemFromAccessibilityElement: (ZKAccessibilityElement *)anAccessibilityElement windowRect: (CGRect)aWindowRect;
#pragma mark -
- (ZKAccessibilityElement *)accessibilityElement;
#pragma mark -
- (CGRect)windowRect;
#pragma mark -
- (SpectacleHistoryItem *)nextHistoryItem;
- (void)setNextHistoryItem: (SpectacleHistoryItem *)historyItem;
#pragma mark -
- (SpectacleHistoryItem *)previousHistoryItem;
- (void)setPreviousHistoryItem: (SpectacleHistoryItem *)historyItem;
@end