-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathXMLFileAccessMethods.h
More file actions
42 lines (31 loc) · 1.32 KB
/
XMLFileAccessMethods.h
File metadata and controls
42 lines (31 loc) · 1.32 KB
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
38
39
40
41
42
//
// XMLFileAccessMethods.h
// AXRecord
//
// Created by Sylvain Malacria on 03/03/16.
// Copyright © 2016 Sylvain Malacria. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "DisplaysInfoEvent.h"
#import "WindowInfoEvent.h"
@interface XMLFileAccessMethods : NSObject
-(id)initWithFilename:(NSString *)filename;
-(BOOL)addXMLElementToFileForMouseType:(int)mouseType
withModifiers:(unsigned long)modifiers
andAXUIElements:(NSArray*)array
andChildren:(NSXMLElement*)children
andSiblings:(NSArray*)siblings
atTime:(NSTimeInterval)time
atClock:(uint64)clock;
-(BOOL)addXMLElementToFileForDisplaysEvent:(DisplaysInfoEvent*)event;
-(BOOL)addXMLElementToFileForWindowEvent:(WindowInfoEvent*)event;
-(BOOL)addXMLElementToFileForApplication:(NSXMLElement*)children
atTime:(NSTimeInterval)time
atClock:(uint64)clock;
-(NSXMLElement*)xmlDescriptionOfChildrenOfElement:(AXUIElementRef)element
beingSelected:(BOOL)select;
-(BOOL)writeChangeApp:(NSString*)appname
atTime:(NSTimeInterval)time
atClock:(uint64)clock;
-(void)close;
@end