You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
720 B
Objective-C
49 lines
720 B
Objective-C
#ifndef SPLITS_H
|
|
#define SPLITS_H
|
|
|
|
#import <yeslib.h>
|
|
#import <raylib.h>
|
|
#import <time.h>
|
|
#import <string.h>
|
|
#import <stdlib.h>
|
|
|
|
enum DisplayMode {
|
|
REALTIME = 0,
|
|
GAMETIME = 1,
|
|
};
|
|
|
|
@interface Segment : YSObject {
|
|
char *name;
|
|
struct timespec realtime;
|
|
struct timespec gametime;
|
|
Segment *next;
|
|
}
|
|
|
|
+(id) new;
|
|
-(id) init;
|
|
|
|
-(Segment *) next;
|
|
-(void) setNext: (Segment *) n;
|
|
|
|
-(char *) name;
|
|
-(void) setName: (char *) n;
|
|
|
|
-(struct timespec) realtime;
|
|
-(void) setRealtime: (struct timespec) r;
|
|
|
|
-(struct timespec) gametime;
|
|
-(void) setGametime: (struct timespec) r;
|
|
|
|
-(char *) realtimeString;
|
|
-(char *) gametimeString;
|
|
|
|
@end
|
|
|
|
|
|
@interface SegmentLinker : YSArray {
|
|
|
|
}
|
|
+(id) new;
|
|
-(void) link;
|
|
@end
|
|
#endif |