~ubuntu-branches/ubuntu/precise/guayadeque/precise

« back to all changes in this revision

Viewing changes to src/.svn/text-base/Shoutcast.h.svn-base

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2011-05-14 15:08:03 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110514150803-8b5evqetnaj35j34
Tags: 0.3.1~dfsg0-1
* New upstream release.
* Strip wxsqlite3 stuff out of upstream's tarballs.
* Update get-orig-source target in debian/rules.
* Update gbp config file.
* Bump Standards.
* Build-depend on libwxsqlite3-2.8-dev
* Enable parallel builds.
* Link binaries against the system-wide copy of wxsqlite3.
* Point sources to the correct wxcurl's headers location.
* Update copyright file as per DEP-5
* Improve debian/watch to handle the ~dfsg\d* suffix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// -------------------------------------------------------------------------------- //
2
 
//      Copyright (C) 2008-2010 J.Rios
3
 
//      anonbeat@gmail.com
4
 
//
5
 
//    This Program is free software; you can redistribute it and/or modify
6
 
//    it under the terms of the GNU General Public License as published by
7
 
//    the Free Software Foundation; either version 2, or (at your option)
8
 
//    any later version.
9
 
//
10
 
//    This Program is distributed in the hope that it will be useful,
11
 
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
 
//    GNU General Public License for more details.
14
 
//
15
 
//    You should have received a copy of the GNU General Public License
16
 
//    along with this program; see the file LICENSE.  If not, write to
17
 
//    the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
18
 
//    http://www.gnu.org/copyleft/gpl.html
19
 
//
20
 
// -------------------------------------------------------------------------------- //
21
 
#ifndef SHOUTCAST_H
22
 
#define SHOUTCAST_H
23
 
 
24
 
#include "DbRadios.h"
25
 
#include "PlayListFile.h"
26
 
 
27
 
#define SHOUTCAST_STATION_STATUS_NAME       0
28
 
#define SHOUTCAST_STATION_STATUS_GENRE      1
29
 
#define SHOUTCAST_STATION_STATUS_URL        2
30
 
#define SHOUTCAST_STATION_STATUS_TYPE       3
31
 
#define SHOUTCAST_STATION_STATUS_BITRATE    4
32
 
#define SHOUTCAST_STATION_STATUS_CURSONG    5
33
 
 
34
 
#define SHOUTCAST_STATION_ALLBITRATES       -1
35
 
 
36
 
// -------------------------------------------------------------------------------- //
37
 
class guShoutCast
38
 
{
39
 
  protected :
40
 
   wxString         m_LastServerUrl;
41
 
   wxArrayString    m_LastServerData;
42
 
 
43
 
  public :
44
 
    guShoutCast() { m_LastServerUrl = wxEmptyString; };
45
 
    wxArrayString       GetGenres( void ) const;
46
 
    void                GetStations( const int source, const int flags, const wxString &text, const int id, guRadioStations * Stations, long MinBitrate = SHOUTCAST_STATION_ALLBITRATES ) const;
47
 
    wxString            GetStationUrl( const int id ) const;
48
 
    guStationPlayList   GetStationPlayList( const int StationId ) const;
49
 
    guStationPlayList   GetStationPlayList( const wxString &stationurl ) const;
50
 
    wxArrayString       GetStationStatus( const wxString ServerUrl );
51
 
};
52
 
 
53
 
#endif
54
 
// -------------------------------------------------------------------------------- //