31 lines
1016 B
Objective-C
Executable File
31 lines
1016 B
Objective-C
Executable File
//
|
|
// PreferencesController.h
|
|
// iLyrics
|
|
//
|
|
// Created by Kim Wittenburg on 14.06.12.
|
|
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "LyricsHoster.h"
|
|
#import "PreferencesWindow.h"
|
|
#import "AutoLyrics.h"
|
|
|
|
@interface PreferencesController : NSObject <NSWindowDelegate, NSTableViewDataSource, NSTableViewDelegate>
|
|
|
|
@property (unsafe_unretained) IBOutlet PreferencesWindow *preferencesWindow;
|
|
@property (weak) IBOutlet NSToolbarItem *generalButton;
|
|
@property (weak) IBOutlet NSTableView *hosterTable;
|
|
@property (weak) IBOutlet NSView *generalView;
|
|
@property (weak) IBOutlet NSView *autoLyricsView;
|
|
@property (weak) IBOutlet NSButton *toggleAutoLyricsButton;
|
|
@property (weak) IBOutlet NSButton *replaceOldCheckBox;
|
|
|
|
- (IBAction)showGeneralPreferences:(id)sender;
|
|
- (IBAction)showAutoLyricsPreferences:(id)sender;
|
|
|
|
- (IBAction)toggleAutoLyrics:(id)sender;
|
|
- (IBAction)changeAutoLyricsInterval:(id)sender;
|
|
- (IBAction)toggleReplaceOldLyrics:(id)sender;
|
|
@end
|