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