kodi
InfoTagRadioRDS.h
1 /*
2  * Copyright (C) 2005-2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include "AddonClass.h"
12 
13 #include <memory>
14 
15 namespace PVR
16 {
17 class CPVRChannel;
18 class CPVRRadioRDSInfoTag;
19 }
20 
21 namespace XBMCAddon
22 {
23  namespace xbmc
24  {
25  //
51  //
52  class InfoTagRadioRDS : public AddonClass
53  {
54  private:
55  std::shared_ptr<PVR::CPVRRadioRDSInfoTag> infoTag;
56 
57  public:
58 #ifndef SWIG
59  explicit InfoTagRadioRDS(const std::shared_ptr<PVR::CPVRChannel>& channel);
60 #endif
62  ~InfoTagRadioRDS() override;
63 
64 #ifdef DOXYGEN_SHOULD_USE_THIS
65  getTitle();
73 #else
74  String getTitle();
75 #endif
76 
77 #ifdef DOXYGEN_SHOULD_USE_THIS
78  getBand();
86 #else
87  String getBand();
88 #endif
89 
90 #ifdef DOXYGEN_SHOULD_USE_THIS
91  getArtist();
99 #else
100  String getArtist();
101 #endif
102 
103 #ifdef DOXYGEN_SHOULD_USE_THIS
104  getComposer();
112 #else
113  String getComposer();
114 #endif
115 
116 #ifdef DOXYGEN_SHOULD_USE_THIS
117  getConductor();
125 #else
126  String getConductor();
127 #endif
128 
129 #ifdef DOXYGEN_SHOULD_USE_THIS
130  getAlbum();
138 #else
139  String getAlbum();
140 #endif
141 
142 #ifdef DOXYGEN_SHOULD_USE_THIS
143  getComment();
151 #else
152  String getComment();
153 #endif
154 
155 #ifdef DOXYGEN_SHOULD_USE_THIS
156  getAlbumTrackNumber();
164 #else
165  int getAlbumTrackNumber();
166 #endif
167 
168 #ifdef DOXYGEN_SHOULD_USE_THIS
169  getInfoNews();
177 #else
178  String getInfoNews();
179 #endif
180 
181 #ifdef DOXYGEN_SHOULD_USE_THIS
182  getInfoNewsLocal();
190 #else
191  String getInfoNewsLocal();
192 #endif
193 
194 #ifdef DOXYGEN_SHOULD_USE_THIS
195  getInfoSport();
203 #else
204  String getInfoSport();
205 #endif
206 
207 #ifdef DOXYGEN_SHOULD_USE_THIS
208  getInfoStock();
216 #else
217  String getInfoStock();
218 #endif
219 
220 #ifdef DOXYGEN_SHOULD_USE_THIS
221  getInfoWeather();
229 #else
230  String getInfoWeather();
231 #endif
232 
233 #ifdef DOXYGEN_SHOULD_USE_THIS
234  getInfoHoroscope();
242 #else
243  String getInfoHoroscope();
244 #endif
245 
246 #ifdef DOXYGEN_SHOULD_USE_THIS
247  getInfoCinema();
255 #else
256  String getInfoCinema();
257 #endif
258 
259 #ifdef DOXYGEN_SHOULD_USE_THIS
260  getInfoLottery();
268 #else
269  String getInfoLottery();
270 #endif
271 
272 #ifdef DOXYGEN_SHOULD_USE_THIS
273  getInfoOther();
281 #else
282  String getInfoOther();
283 #endif
284 
285 #ifdef DOXYGEN_SHOULD_USE_THIS
286  getEditorialStaff();
294 #else
295  String getEditorialStaff();
296 #endif
297 
298 #ifdef DOXYGEN_SHOULD_USE_THIS
299  getProgStation();
307 #else
308  String getProgStation();
309 #endif
310 
311 #ifdef DOXYGEN_SHOULD_USE_THIS
312  getProgStyle();
320 #else
321  String getProgStyle();
322 #endif
323 
324 #ifdef DOXYGEN_SHOULD_USE_THIS
325  getProgHost();
333 #else
334  String getProgHost();
335 #endif
336 
337 #ifdef DOXYGEN_SHOULD_USE_THIS
338  getProgWebsite();
346 #else
347  String getProgWebsite();
348 #endif
349 
350 #ifdef DOXYGEN_SHOULD_USE_THIS
351  getProgNow();
359 #else
360  String getProgNow();
361 #endif
362 
363 #ifdef DOXYGEN_SHOULD_USE_THIS
364  getProgNext();
372 #else
373  String getProgNext();
374 #endif
375 
376 #ifdef DOXYGEN_SHOULD_USE_THIS
377  getPhoneHotline();
385 #else
386  String getPhoneHotline();
387 #endif
388 
389 #ifdef DOXYGEN_SHOULD_USE_THIS
390  getEMailHotline();
398 #else
399  String getEMailHotline();
400 #endif
401 
402 #ifdef DOXYGEN_SHOULD_USE_THIS
403  getPhoneStudio();
411 #else
412  String getPhoneStudio();
413 #endif
414 
415 #ifdef DOXYGEN_SHOULD_USE_THIS
416  getEMailStudio();
424 #else
425  String getEMailStudio();
426 #endif
427 
428 #ifdef DOXYGEN_SHOULD_USE_THIS
429  getSMSStudio();
437 #else
438  String getSMSStudio();
439 #endif
440  };
442  }
443 }
Definition: InfoTagRadioRDS.h:52
Definition: ContextMenuManager.h:24
Defining LOG_LIFECYCLE_EVENTS will log all instantiations, deletions and also reference countings (in...
Definition: Addon.cpp:25
This class is the superclass for all reference counted classes in the api.
Definition: AddonClass.h:57