summaryrefslogtreecommitdiff
path: root/Source/Core/MacUpdater/ViewController.h
blob: 75081828658b2460a0bd68f4c44b6ba4bb87b1b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2019 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#import <Cocoa/Cocoa.h>

@interface ViewController : NSViewController

@property(assign) IBOutlet NSProgressIndicator* progressCurrent;
@property(assign) IBOutlet NSProgressIndicator* progressTotal;
@property(assign) IBOutlet NSTextField* labelProgress;

- (void)SetDescription:(NSString*)string;

- (void)SetTotalMarquee:(bool)marquee;
- (void)SetCurrentMarquee:(bool)marquee;

- (void)SetTotalProgress:(double)current total:(double)total;
- (void)SetCurrentProgress:(double)current total:(double)total;

@end