aboutsummaryrefslogtreecommitdiffstats
path: root/Drop Serve/StatusView.m
blob: 8d931759aa461cd79169cdeae271714c0289dcd1 (plain)
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
//
//  StatusView.m
//  Drop Serve
//
//  Created by TW on 10/10/20.
//  Copyright (c) 2020 TW. All rights reserved.
//

#import "StatusView.h"
#import "Server.h"

@implementation StatusView

- (void)setPath:(NSString *)path
{
	[_path setStringValue:path];
}

- (IBAction)stopServer:(id)sender
{
	[Server stop];
	[self setHidden:YES];
}

@end