| 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, CMPDVDTextView, CMPDVDPlayerPlayHead, CMPDVDBlurredMenu; |
|---|
| 25 | |
|---|
| 26 | typedef 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 | #ifdef PLAY_WITH_OVERLAY |
|---|
| 40 | BOOL blacked; |
|---|
| 41 | #endif |
|---|
| 42 | CMPDVDPlayerControllerOverlayMode overlayMode; |
|---|
| 43 | NSTimer *overlayDismiss; |
|---|
| 44 | CMPDVDTextView *statusOverlay; |
|---|
| 45 | CMPDVDTextView *subtitlesOverlay; |
|---|
| 46 | CMPDVDTextView *audioOverlay; |
|---|
| 47 | CMPDVDTextView *chapterOverlay; |
|---|
| 48 | CMPDVDTextView *zoomOverlay; |
|---|
| 49 | CMPDVDPlayerPlayHead *playheadOverlay; |
|---|
| 50 | CMPDVDBlurredMenu *blurredMenu; |
|---|
| 51 | } |
|---|
| 52 | |
|---|
| 53 | - (void)playbackStopped; |
|---|
| 54 | |
|---|
| 55 | @end |
|---|