X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=OSX%2FSaverRunner.h;h=0284ccf5065a296ebb7a9b3f9b8aad96d1e6f865;hb=c141c2b05e374757b6499d12bb8a6d4d943b1529;hp=541bb2cf9261f1c448a876d3d115a55b58c5f1c9;hpb=f8cf5ac7b2f53510f80a0eaf286a25298be17bfe;p=xscreensaver diff --git a/OSX/SaverRunner.h b/OSX/SaverRunner.h index 541bb2cf..0284ccf5 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 @@ -52,26 +48,27 @@ # else // USE_IPHONE ScreenSaverView *saverView; + UIView *backgroundView; UINavigationController *rootViewController; IBOutlet UIWindow *window; 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 launch:(BOOL)launch; - (void) loadSaver: (NSString *)name; -- (void)selectedSaverDidChange:(NSDictionary *)change; +- (void) selectedSaverDidChange:(NSDictionary *)change; -#ifdef USE_IPHONE -- (void) loadSaverMenu: (id)sender; +#ifndef USE_IPHONE +- (void) aboutPanel: (id)sender; +- (void) openPreferences: (id)sender; +#else // USE_IPHONE +- (void) openPreferences: (NSString *)which; - (UIImage *) screenshot; -#endif +#endif // USE_IPHONE @end