]> git.sesse.net Git - vlc/blob - modules/gui/macosx/eyetv.h
macosx: Fix controller playlist toggling to use the contentRect and not the window...
[vlc] / modules / gui / macosx / eyetv.h
1 /*****************************************************************************\r
2 * eyetv.h: small class to control the notification parts of the EyeTV plugin\r
3 *****************************************************************************\r
4 * Copyright (C) 2006-2007 the VideoLAN team\r
5 * $Id$\r
6 *\r
7 * Authors: Felix Kühne <fkuehne at videolan dot org>\r
8 *\r
9 * This program is free software; you can redistribute it and/or modify\r
10 * it under the terms of the GNU General Public License as published by\r
11 * the Free Software Foundation; either version 2 of the License, or\r
12 * (at your option) any later version.\r
13 *\r
14 * This program is distributed in the hope that it will be useful,\r
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
17 * GNU General Public License for more details.\r
18 *\r
19 * You should have received a copy of the GNU General Public License\r
20 * along with this program; if not, write to the Free Software\r
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.\r
22 *****************************************************************************/\r
23 \r
24 #import <Cocoa/Cocoa.h>\r
25 \r
26 \r
27 @interface VLCEyeTVController : NSObject\r
28 {\r
29     BOOL b_eyeTVactive;\r
30     BOOL b_deviceConnected;\r
31 }\r
32 - (void)globalNotificationReceived: (NSNotification *)theNotification;\r
33 - (BOOL)isEyeTVrunning;\r
34 - (BOOL)isDeviceConnected;\r
35 - (void)launchEyeTV;\r
36 - (int)currentChannel;\r
37 - (int)switchChannelUp:(BOOL)b_yesOrNo;\r
38 - (void)selectChannel:(int)theChannelNum;\r
39 - (NSEnumerator *)allChannels;\r
40 \r
41 @end\r