forked from nschum/Gitifier
/
PreferencesWindowController.h
44 lines (37 loc) · 1.45 KB
/
PreferencesWindowController.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
36
37
38
39
40
41
42
43
44
// -------------------------------------------------------
// PreferencesWindowController.h
//
// Copyright (c) 2010 Jakub Suder <jakub.suder@gmail.com>
// Licensed under MIT license
// -------------------------------------------------------
#import <Cocoa/Cocoa.h>
#import "DBPrefsWindowController.h"
@class RepositoryListController;
@interface PreferencesWindowController : DBPrefsWindowController <NSOpenSavePanelDelegate> {
NSNumberFormatter *numberFormatter;
RepositoryListController *repositoryListController;
NSTextField *monitorIntervalField;
NSButton *ignoreOwnEmailsField;
NSButton *chooseGitPathButton;
NSView *generalPreferencesView;
NSView *repositoriesPreferencesView;
NSView *aboutPreferencesView;
NSButton *websiteLabel;
}
@property IBOutlet RepositoryListController *repositoryListController;
@property IBOutlet NSTextField *monitorIntervalField;
@property IBOutlet NSButton *ignoreOwnEmailsField;
@property IBOutlet NSButton *chooseGitPathButton;
@property IBOutlet NSView *generalPreferencesView;
@property IBOutlet NSView *repositoriesPreferencesView;
@property IBOutlet NSView *aboutPreferencesView;
@property IBOutlet NSButton *websiteLabel;
@property (readonly) id gitClass;
// public
- (IBAction) removeRepositories: (id) sender;
- (IBAction) openGitExecutableDialog: (id) sender;
- (IBAction) openProjectWebsite: (id) sender;
// private
- (void) linkifyButton: (NSButton *) label;
- (void) updateUserEmailText: (NSString *) email;
@end