1 /*
2  Project: AClock
3  AppController.h
4 
5  Copyright (C) 2003-2011 GNUstep Application Project
6 
7  Author: Alexander Malmberg
8          Banlu Kemiyatorn
9          G�rkan Seng�n
10          Ing. Riccardo Mottola <rm@gnu.org>
11 
12  This application is free software; you can redistribute it and/or
13  modify it under the terms of the GNU General Public
14  License as published by the Free Software Foundation; either
15  version 2 of the License, or (at your option) any later version.
16 
17  This application is distributed in the hope that it will be useful,
18  but WITHOUT ANY WARRANTY; without even the implied warranty of
19  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20  Library General Public License for more details.
21 
22  You should have received a copy of the GNU General Public
23  License along with this library; if not, write to the Free
24  Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
25  */
26 
27 
28 #import <AppKit/AppKit.h>
29 #import "Clock.h"
30 #import <math.h>
31 
32 @interface AppController : NSObject
33 {
34   id faceColorW;
35   id ampmSwitch;
36   id cuckooSwitch;
37   id ringSwitch;
38   id shadowSwitch;
39   id transSlider;
40   id handColorW;
41   id secColorW;
42   id frameColorW;
43   id prefPanel;
44   id markColorW;
45   id freqSlider;
46   id freqText;
47   id secondSwitch;
48   id numberPopUp;
49   id alarmWindow;
50   id alarmClock;
51   id ringSlider;
52   id incsVolume;
53   id ringText;
54 
55 
56   Clock *_clock;
57   Clock *bigClock;
58   NSTimer *timer;
59   BOOL doFloor;
60 }
61 - (void) openPreferences: (id)sender;
62 - (void) setFrameColor: (id)sender;
63 - (void) setFaceColor: (id)sender;
64 - (void) setFaceTransparency: (id)sender;
65 - (void) setShowsAMPM: (id)sender;
66 - (void) setShadow:(id)sender;
67 - (void) setSecondHandColor: (id)sender;
68 - (void) setHandColor: (id)sender;
69 - (void) setMarkColor: (id)sender;
70 - (void) setFrequency: (id)sender;
71 - (void) setSecond: (id)sender;
72 - (void) setNumberType: (id)sender;
73 - (void) playCuckoo;
74 @end
75