本文整理汇总了C++中CGUIDialogPVRRecordingInfo类的典型用法代码示例。如果您正苦于以下问题:C++ CGUIDialogPVRRecordingInfo类的具体用法?C++ CGUIDialogPVRRecordingInfo怎么用?C++ CGUIDialogPVRRecordingInfo使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了CGUIDialogPVRRecordingInfo类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: ShowRecordingInfo
void CGUIWindowPVRBase::ShowRecordingInfo(CFileItem *item)
{
CGUIDialogPVRRecordingInfo* pDlgInfo = (CGUIDialogPVRRecordingInfo*)g_windowManager.GetWindow(WINDOW_DIALOG_PVR_RECORDING_INFO);
if (item->IsPVRRecording() && pDlgInfo)
{
pDlgInfo->SetRecording(item);
pDlgInfo->Open();
}
}
示例2: ShowRecordingInfo
void CGUIWindowPVRCommon::ShowRecordingInfo(CFileItem *item)
{
if (!item->IsPVRRecording())
return;
CGUIDialogPVRRecordingInfo* pDlgInfo = (CGUIDialogPVRRecordingInfo*)g_windowManager.GetWindow(WINDOW_DIALOG_PVR_RECORDING_INFO);
if (!pDlgInfo)
return;
pDlgInfo->SetRecording(item);
pDlgInfo->DoModal();
}
示例3: ShowRecordingInfo
bool CPVRGUIActions::ShowRecordingInfo(const CFileItemPtr &item) const
{
if (!item->IsPVRRecording())
{
CLog::Log(LOGERROR, "CPVRGUIActions - %s - no recording!", __FUNCTION__);
return false;
}
CGUIDialogPVRRecordingInfo* pDlgInfo = dynamic_cast<CGUIDialogPVRRecordingInfo*>(g_windowManager.GetWindow(WINDOW_DIALOG_PVR_RECORDING_INFO));
if (!pDlgInfo)
{
CLog::Log(LOGERROR, "CPVRGUIActions - %s - unable to get WINDOW_DIALOG_PVR_RECORDING_INFO!", __FUNCTION__);
return false;
}
pDlgInfo->SetRecording(item.get());
pDlgInfo->Open();
return true;
}