Merge branch '0128_tizen20'
[apps/core/preloaded/video-player.git] / include / mp-video-streaming-view.h
1 /*\r
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.\r
3  * \r
4  *    Copyright [2012] [JongDong Lee <jongdong.lee@samsung.com>, ChangSun Lee <cs78.lee@samsung.com>]\r
5  * \r
6  *    Licensed under the Flora License, Version 1.0 (the "License");\r
7  *    you may not use this file except in compliance with the License.\r
8  *    You may obtain a copy of the License at\r
9  * \r
10  *        http://www.tizenopensource.org/license\r
11  * \r
12  *    Unless required by applicable law or agreed to in writing, software\r
13  *    distributed under the License is distributed on an "AS IS" BASIS,\r
14  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
15  *    See the License for the specific language governing permissions and\r
16  *    limitations under the License.\r
17  */\r
18 \r
19 \r
20 #ifndef _VIDEO_STREAMING_VIEW_\r
21 #define  _VIDEO_STREAMING_VIEW_\r
22 \r
23 \r
24 typedef enum\r
25 {\r
26         MP_STREAMING_VIEW_STATE_ACTIVATE                = 0,\r
27         MP_STREAMING_VIEW_STATE_UNACTIVATE,\r
28         MP_STREAMING_VIEW_STATE_MAX,\r
29 }VideoStreamingViewState;\r
30 \r
31 typedef void (*ChangeStreamingViewCbFunc)(int nChangePlayerView, void* pUserData);\r
32 \r
33 void MpVideoStreamingViewPush(void* pNaviFrame, int nPlayerType, void* pUserData, ChangeStreamingViewCbFunc pChangeViewCb);\r
34 void MpVideoStreamingViewPop(void* pNaviFrame, void* pUserData);\r
35 void MpVideoStreamingViewDestroy(void* pUserData);\r
36 \r
37 void MpVideoStreamingViewInitAfterBeginOfStream(void* pUserData);\r
38 void MpVideoStreamingViewUpdatePauseKey(void);\r
39 void MpVideoStreamingViewUpdateResumeKey(void);\r
40 void MpVideoStreamingViewShowControlPanel(void* pUserData);\r
41 void MpVideoStreamingViewHideControlPanel(void* pUserData);\r
42 void MpVideoStreamingViewActivate(void);\r
43 void MpVideoStreamingViewUnactivate(void);\r
44 void MpVideoStreamingViewRotation(void *pUserData, int nRotateMode, bool bLayoutHide);\r
45 void MpVideoStreamingViewSetBufferingRate(int nSetBufferingRate);\r
46 bool MpVideoStreamingViewGetBufferingState(void);\r
47 bool MpVideoStreamingViewIsTopView(void);\r
48 void MpVideoStreamingViewShowNocontentImage(void *pUserData);\r
49 void MpVideoStreamingViewHideNocontentImage(void);\r
50 void    MpVideoStreamingViewPortrate(void);\r
51 void    MpVideoStreamingViewLandscape(void);\r
52 void MpVideoStreamingViewUpdateProgressBar(void *pUserData);\r
53 \r
54 #endif\r