2 * Copyright (c) [2012] Samsung Electronics Co., Ltd.
4 * Licensed under the Flora License, Version 1.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #ifndef _VIDEO_DISPLAY_VIEW_
20 #define _VIDEO_DISPLAY_VIEW_
25 MP_DISPLAY_VIEW_STATE_ACTIVATE = 0,
26 MP_DISPLAY_VIEW_STATE_UNACTIVATE,
27 MP_DISPLAY_VIEW_STATE_MAX,
28 }VideoDisplayViewState;
30 typedef void (*ChangeDisplayViewCbFunc)(int nChangePlayerView, void* pUserData);
32 void MpVideoDisplayViewPush(void *pNaviFrame, int nPlayerType, void *pUserData, ChangeDisplayViewCbFunc pChangeViewCb);
33 void MpVideoDisplayViewPop(void *pNaviFrame, void* pUserData);
34 void MpVideoDisplayViewDestroy(void *pUserData);
36 void MpVideoDisplayViewInitAfterBeginOfStream(void *pUserData);
37 void MpVideoDisplayViewUpdatePauseKey(void);
38 void MpVideoDisplayViewUpdateResumeKey(void);
39 void MpVideoDisplayViewShowControlPanel(void *pUserData);
40 void MpVideoDisplayViewHideControlPanel(void *pUserData);
41 void MpVideoDisplayViewActivate(void);
42 void MpVideoDisplayViewUnactivate(void);
43 void MpVideoDisplayViewChangeNaviFrameTitle(void *pUserData);
44 bool MpVideoDisplayViewIsTopView(void);
45 void MpVideoDisplayViewShowNocontentImage(void *pUserData);
46 void MpVideoDisplayViewHideNocontentImage(void);
47 void MpVideoDisplayViewPortrate(bool bLayoutHide, void *pUserData);
48 void MpVideoDisplayViewLandscape(bool bLayoutHide,void *pUserData);
49 void MpVideoDisplayViewResetProgressBar(void *pUserData);
50 bool MpVideoDisplayViewIsPauseByUser(void);
51 void MpVideoDisplayViewSetPauseByUser(bool bPauseByUser);
52 void MpVideoDisplayViewUpdateProgressBar(void *pUserData);