aboutsummaryrefslogtreecommitdiff
path: root/xbmc/pvr/dialogs/GUIDialogPVRRadioRDSInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/pvr/dialogs/GUIDialogPVRRadioRDSInfo.h')
-rw-r--r--xbmc/pvr/dialogs/GUIDialogPVRRadioRDSInfo.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/xbmc/pvr/dialogs/GUIDialogPVRRadioRDSInfo.h b/xbmc/pvr/dialogs/GUIDialogPVRRadioRDSInfo.h
new file mode 100644
index 0000000000..e451f5566a
--- /dev/null
+++ b/xbmc/pvr/dialogs/GUIDialogPVRRadioRDSInfo.h
@@ -0,0 +1,72 @@
+#pragma once
+/*
+ * Copyright (C) 2012-2015 Team KODI
+ * http://kodi.tv
+ *
+ * This Program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This Program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with KODI; see the file COPYING. If not, see
+ * <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#include "guilib/GUIDialog.h"
+
+namespace PVR
+{
+ class CGUIDialogPVRRadioRDSInfo : public CGUIDialog
+ {
+ public:
+ CGUIDialogPVRRadioRDSInfo(void);
+ virtual ~CGUIDialogPVRRadioRDSInfo(void) {}
+ virtual bool OnMessage(CGUIMessage& message);
+ virtual bool HasListItems() const { return true; };
+ virtual CFileItemPtr GetCurrentListItem(int offset = 0);
+
+ void SetRadioRDS(const CFileItem *item);
+
+ protected:
+ virtual void OnInitWindow();
+ virtual void OnDeinitWindow(int nextWindowID);
+
+ CFileItemPtr m_rdsItem;
+
+ private:
+ bool m_InfoPresent;
+ bool m_LabelInfoNewsPresent;
+ std::string m_LabelInfoNews;
+
+ bool m_LabelInfoNewsLocalPresent;
+ std::string m_LabelInfoNewsLocal;
+
+ bool m_LabelInfoWeatherPresent;
+ std::string m_LabelInfoWeather;
+
+ bool m_LabelInfoLotteryPresent;
+ std::string m_LabelInfoLottery;
+
+ bool m_LabelInfoSportPresent;
+ std::string m_LabelInfoSport;
+
+ bool m_LabelInfoStockPresent;
+ std::string m_LabelInfoStock;
+
+ bool m_LabelInfoOtherPresent;
+ std::string m_LabelInfoOther;
+
+ bool m_LabelInfoCinemaPresent;
+ std::string m_LabelInfoCinema;
+
+ bool m_LabelInfoHoroscopePresent;
+ std::string m_LabelInfoHoroscope;
+ };
+}