1
// Berkeley Open Infrastructure for Network Computing
2
// http://boinc.berkeley.edu
3
// Copyright (C) 2005 University of California
5
// This is free software; you can redistribute it and/or
6
// modify it under the terms of the GNU Lesser General Public
7
// License as published by the Free Software Foundation;
8
// either version 2.1 of the License, or (at your option) any later version.
10
// This software is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
// See the GNU Lesser General Public License for more details.
15
// To view the GNU Lesser General Public License visit
16
// http://www.gnu.org/copyleft/lesser.html
17
// or write to the Free Software Foundation, Inc.,
18
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
// Mac_Saver_ModuleView.h
24
#import <ScreenSaver/ScreenSaver.h>
27
@interface BOINC_Saver_ModuleView : ScreenSaverView
29
NSString *mBundleID; // our bundle ID
31
IBOutlet id mConfigureSheet; // our configuration sheet
32
IBOutlet NSButton *mGoToBlankCheckbox;
33
IBOutlet NSTextField *mBlankingTimeTextField;
35
int mVersion; // the version of our prefs
36
NSString *mBlankingTimeString;
39
- (IBAction)closeSheetSave:(id) sender;
40
- (IBAction)closeSheetCancel:(id) sender;
44
int initBOINCSaver(Boolean ispreview);
45
int getSSMessage(char **theMessage, int* coveredFreq);
46
void drawPreview(CGContextRef myContext);
47
void closeBOINCSaver(void);
48
extern void print_to_log_file(const char *format, ...);