mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-23 04:34:27 +00:00
Also enable -Wobjc-missing-property-synthesis because I can't figure out how to turn it off for just the test application
33 lines
601 B
Objective-C
33 lines
601 B
Objective-C
//
|
|
// SUUpdateSettingsWindowController.m
|
|
// Sparkle
|
|
//
|
|
// Created by Mayur Pawashe on 7/25/15.
|
|
// Copyright (c) 2015 Sparkle Project. All rights reserved.
|
|
//
|
|
|
|
#import "SUUpdateSettingsWindowController.h"
|
|
#import <Sparkle/Sparkle.h>
|
|
|
|
@interface SUUpdateSettingsWindowController ()
|
|
|
|
@property (nonatomic) IBOutlet SUUpdater *updater;
|
|
|
|
@end
|
|
|
|
@implementation SUUpdateSettingsWindowController
|
|
|
|
@synthesize updater = _updater;
|
|
|
|
- (NSString *)windowNibName
|
|
{
|
|
return NSStringFromClass([self class]);
|
|
}
|
|
|
|
- (IBAction)checkForUpdates:(id __unused)sender
|
|
{
|
|
[self.updater checkForUpdates:nil];
|
|
}
|
|
|
|
@end
|