X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=OSX%2FSaverRunner.h;h=2c5d0461f92afb0064a8699df5573ed6678878ee;hp=541bb2cf9261f1c448a876d3d115a55b58c5f1c9;hb=c70f94f648d51bb4828193124f325fa52b0e57f3;hpb=f8cf5ac7b2f53510f80a0eaf286a25298be17bfe diff --git a/OSX/SaverRunner.h b/OSX/SaverRunner.h index 541bb2cf..2c5d0461 100644 --- a/OSX/SaverRunner.h +++ b/OSX/SaverRunner.h @@ -33,10 +33,6 @@ @class ScreenSaverView; -#ifdef USE_IPHONE -# import "SaverListController.h" -#endif - @interface SaverRunner : NSObject { NSString *saverName; // the one currently loaded @@ -57,21 +53,21 @@ EAGLContext *eagl_ctx; GLuint gl_framebuffer, gl_renderbuffer; IBOutlet UIView *view; - SaverListController *listController; UIImage *saved_screenshot; # endif // USE_IPHONE } - (void) aboutPanel: (id)sender; -- (void) openPreferences: (id)sender; - (void)loadSaver:(NSString *)name launch:(BOOL)launch; - (void) loadSaver: (NSString *)name; - (void)selectedSaverDidChange:(NSDictionary *)change; -#ifdef USE_IPHONE -- (void) loadSaverMenu: (id)sender; +#ifndef USE_IPHONE +- (void) openPreferences: (id)sender; +#else // USE_IPHONE +- (void) openPreferences: (NSString *)which; - (UIImage *) screenshot; -#endif +#endif // USE_IPHONE @end