Merge branch '0128_tizen20'
[apps/core/preloaded/video-player.git] / include / mp-video-display-view.h
1 /*
2  * To apply the Flora License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
3  * 
4  *    Copyright [2012] [JongDong Lee <jongdong.lee@samsung.com>, ChangSun Lee <cs78.lee@samsung.com>]
5  * 
6  *    Licensed under the Flora License, Version 1.0 (the "License");
7  *    you may not use this file except in compliance with the License.
8  *    You may obtain a copy of the License at
9  * 
10  *        http://www.tizenopensource.org/license
11  * 
12  *    Unless required by applicable law or agreed to in writing, software
13  *    distributed under the License is distributed on an "AS IS" BASIS,
14  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  *    See the License for the specific language governing permissions and
16  *    limitations under the License.
17  */
18
19
20
21 #ifndef _VIDEO_DISPLAY_VIEW_
22 #define  _VIDEO_DISPLAY_VIEW_
23
24
25 typedef enum
26 {
27         MP_DISPLAY_VIEW_STATE_ACTIVATE          = 0,
28         MP_DISPLAY_VIEW_STATE_UNACTIVATE,
29         MP_DISPLAY_VIEW_STATE_MAX,
30 }VideoDisplayViewState;
31
32 typedef void (*ChangeDisplayViewCbFunc)(int nChangePlayerView, void* pUserData);
33
34 void    MpVideoDisplayViewPush(void *pNaviFrame, int nPlayerType, void *pUserData, ChangeDisplayViewCbFunc pChangeViewCb);
35 void    MpVideoDisplayViewPop(void *pNaviFrame, void* pUserData);
36 void    MpVideoDisplayViewDestroy(void *pUserData);
37
38 void    MpVideoDisplayViewInitAfterBeginOfStream(void *pUserData);
39 void    MpVideoDisplayViewUpdatePauseKey(void);
40 void    MpVideoDisplayViewUpdateResumeKey(void);
41 void    MpVideoDisplayViewShowControlPanel(void *pUserData);
42 void    MpVideoDisplayViewHideControlPanel(void *pUserData);
43 void    MpVideoDisplayViewActivate(void);
44 void    MpVideoDisplayViewUnactivate(void);
45 void    MpVideoDisplayViewChangeNaviFrameTitle(void *pUserData);
46 bool    MpVideoDisplayViewIsTopView(void);
47 void    MpVideoDisplayViewShowNocontentImage(void *pUserData);
48 void    MpVideoDisplayViewHideNocontentImage(void);
49 void    MpVideoDisplayViewPortrate(bool bLayoutHide, void *pUserData);
50 void    MpVideoDisplayViewLandscape(bool bLayoutHide,void *pUserData);
51 void    MpVideoDisplayViewResetProgressBar(void *pUserData);
52 bool    MpVideoDisplayViewIsPauseByUser(void);
53 void    MpVideoDisplayViewSetPauseByUser(bool bPauseByUser);
54 void    MpVideoDisplayViewUpdateProgressBar(void *pUserData);
55
56 #endif