-
-
Notifications
You must be signed in to change notification settings - Fork 50
/
virtualization_view.h
35 lines (29 loc) · 953 Bytes
/
virtualization_view.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
//
// virtualization_view.h
//
// Created by codehex.
//
#pragma once
#import "virtualization_helper.h"
#import <Availability.h>
#import <Cocoa/Cocoa.h>
#import <Virtualization/Virtualization.h>
@interface VZApplication : NSApplication {
bool shouldKeepRunning;
}
@end
@interface AboutViewController : NSViewController
- (instancetype)init;
@end
@interface AboutPanel : NSPanel
- (instancetype)init;
@end
API_AVAILABLE(macos(12.0))
@interface AppDelegate : NSObject <NSApplicationDelegate, NSWindowDelegate, VZVirtualMachineDelegate, NSToolbarDelegate>
- (instancetype)initWithVirtualMachine:(VZVirtualMachine *)virtualMachine
queue:(dispatch_queue_t)queue
windowWidth:(CGFloat)windowWidth
windowHeight:(CGFloat)windowHeight
windowTitle:(NSString *)windowTitle
enableController:(BOOL)enableController;
@end