source: trunk/Cocoa/DockCam/DockCam.h@ 150

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

Initial import.

File size: 998 bytes
RevLine 
[5]1//
2// DockCam.h
3// DockCam
4//
5// Created by Nicholas Riley on Wed Jun 26 2002.
6// Copyright (c) 2002 Nicholas Riley. All rights reserved.
7//
8
9#import <Cocoa/Cocoa.h>
10
11@class DockCamStatus;
12@class DockCamPrefs;
13@class NJRVendingImageView;
14@class CURLHandle;
15
16@interface DockCam : NSObject <NSURLHandleClient> {
17 NSMutableData *data;
18 NSImage *image;
19 NSSize imageSize, previousImageSize;
20 NSURL *location;
21 CURLHandle *imageHandle;
22 NSTimer *delayTimer;
23 NSTimeInterval timeLeft;
24 DockCamPrefs *preferencesController;
25 IBOutlet DockCamStatus *status;
26 IBOutlet NSWindow *imageWindow;
27 IBOutlet NJRVendingImageView *imageView;
28 IBOutlet NSMenuItem *pauseResumeItem; // workaround for dock sender bug in 10.1
29}
30
31- (void)scheduleLoading;
32- (IBAction)reloadImage:(id)sender;
33- (IBAction)cancelLoading:(id)sender;
34
35- (IBAction)pauseTimer:(NSMenuItem *)sender;
36- (IBAction)resumeTimer:(NSMenuItem *)sender;
37
38- (IBAction)orderFrontPreferencesPanel:(id)sender;
39
40@end
Note: See TracBrowser for help on using the repository browser.