source: trunk/Cocoa/DockCam/DockCamPrefs.h@ 128

Last change on this file since 128 was 5, checked in by Nicholas Riley, 22 years ago

Initial import.

File size: 1.2 KB
Line 
1//
2// DockCamPrefs.h
3// DockCam
4//
5// Created by Nicholas Riley on Thu Jun 27 2002.
6// Copyright (c) 2002 Nicholas Riley. All rights reserved.
7//
8
9#import <AppKit/AppKit.h>
10
11extern NSString * const DCImageLocation;
12extern NSString * const DCImageSize;
13extern NSString * const DCImageRefreshEnabled;
14extern NSString * const DCImageRefreshInterval;
15extern NSString * const DCShowImageInBackground;
16extern NSString * const DCShowStatus;
17
18extern NSString * const DCPrefChangedNotification;
19
20@interface DockCamPrefs : NSWindowController {
21 IBOutlet NSComboBox *imageLocation;
22 IBOutlet NSMatrix *retrieveImageAutomatically;
23 IBOutlet NSTextField *imageRefreshInterval;
24 IBOutlet NSPopUpButton *imageRefreshIntervalUnits;
25 IBOutlet NSButton *showImageInBackground;
26}
27
28+ (BOOL)boolForPref:(NSString *)pref;
29+ (int)intForPref:(NSString *)pref;
30+ (NSSize)sizeForPref:(NSString *)pref;
31+ (NSString *)stringForPref:(NSString *)pref;
32
33+ (void)setBool:(BOOL)value forPref:(NSString *)pref;
34+ (void)setInt:(int)value forPref:(NSString *)pref;
35+ (void)setString:(NSString *)value forPref:(NSString *)pref;
36+ (void)setSize:(NSSize)value forPref:(NSString *)pref;
37
38- (IBAction)writeToPrefs:(id)sender;
39- (IBAction)retrieveImageAutomatically:(id)sender;
40
41@end
Note: See TracBrowser for help on using the repository browser.