source: trunk/CommonMediaPlayer/Media Players/DVD Framework/CMPDVDPlayerController.h @ 1286

Revision 1286, 1.9 KB checked in by gbooker, 5 years ago (diff)

Made overlays more generic (just need an NSWindow now), not just for DVDs. Could be made even more generic later if necessary.
Increased update time in playhead making it more useful in fast forward.
Fixed crasher in SL
Fixed results from static analyzer.

Line 
1/*
2 * CMPDVDPlayerController.h
3 * CommonMediaPlayer
4 *
5 * Created by Graham Booker on Feb. 3 2010
6 * Copyright 2010 Common Media Player
7 * All rights reserved.
8 *
9 * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
10 * Lesser General Public License as published by the Free Software Foundation; either version 3 of the
11 * License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
14 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public License along with this program; if
18 * not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19 * 02111-1307, USA.
20 */
21
22#import "CMPPlayerController.h"
23
24@class CMPDVDPlayer, CMPDVDWindowCreationAction, CMPTextView, CMPPlayerPlayHead, CMPBlurredMenu, CMPOverlayAction;
25
26typedef enum {
27        CMPDVDPlayerControllerOverlayModeNone,
28        CMPDVDPlayerControllerOverlayModeStatus,
29        CMPDVDPlayerControllerOverlayModeSubAndAudio,
30        CMPDVDPlayerControllerOverlayModeChapters,
31        CMPDVDPlayerControllerOverlayModeZoom,
32} CMPDVDPlayerControllerOverlayMode;
33
34@interface CMPDVDPlayerController : BRMenuController <CMPPlayerController> {
35        int                                                                     padding[16];
36        CMPDVDPlayer                                            *player;
37        id <CMPPlayerControllerDelegate>        delegate;
38        CMPDVDWindowCreationAction                      *windowCreation;
39        CMPOverlayAction                                        *overlay;
40#ifdef PLAY_WITH_OVERLAY
41        BOOL                                                            blacked;
42#endif
43        CMPDVDPlayerControllerOverlayMode       overlayMode;
44        NSTimer                                                         *overlayDismiss;
45        CMPTextView                                                     *statusOverlay;
46        CMPTextView                                                     *subtitlesOverlay;
47        CMPTextView                                                     *audioOverlay;
48        CMPTextView                                                     *chapterOverlay;
49        CMPTextView                                                     *zoomOverlay;
50        CMPPlayerPlayHead                                       *playheadOverlay;
51        CMPBlurredMenu                                          *blurredMenu;
52}
53
54- (void)playbackStopped;
55
56@end
Note: See TracBrowser for help on using the repository browser.