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 _MP_VIDEO_SUBTITLE_CTRL_
20 #define _MP_VIDEO_SUBTITLE_CTRL_
22 bool MpVideoSubtitleCtrlCheckSubtitleFile(char *szMediaUriPath);
23 void *MpVideoSubtitleCtrlInit(void *pUserData, void *pParent);
24 void MpVideoSubtitleCtrlDestroy(void);
25 void MpVideoSubtitleCtrlUpdate(char *szTxt);
27 bool MpVideoSubtitleCtrlIsExistSubtitle(void);
28 bool MpVideoSubtitleCtrlGetSubtitleUri(char *szSubtitleUriPath);
29 void MpVideoSubtitleCtrlSetLayoutShow(bool bShow);
30 void MpVideoSubtitleCtrlSetSizeMode(int nSizeMode);
31 int MpVideoSubtitleCtrlGetSizeMode();
32 void MpVideoSubtitleCtrlSetShowStatus(bool bShow);
33 bool MpVideoSubtitleCtrlGetShowStatus();
35 void MpVideoSubtitleCtrlSetRotate(int nRotateStatus);
36 void MpVideoSubtitleCtrlSetLockScreen(bool bShow);
38 #endif // _MP_VIDEO_SUBTITLE_CTRL_