qtmobility/plugins/multimedia/v4l/radio/v4lradiocontrol_maemo5.h
changeset 5 453da2cfceef
parent 4 90517678cc4f
child 11 06b8e2af4411
equal deleted inserted replaced
4:90517678cc4f 5:453da2cfceef
    50 #include <QtDBus/QtDBus>
    50 #include <QtDBus/QtDBus>
    51 #include <gst/gst.h>
    51 #include <gst/gst.h>
    52 
    52 
    53 #include <alsa/asoundlib.h>
    53 #include <alsa/asoundlib.h>
    54 
    54 
    55 QTM_USE_NAMESPACE
    55 QT_USE_NAMESPACE
    56 
    56 
    57 class V4LRadioService;
    57 class V4LRadioService;
    58 
    58 
    59 class V4LRadioControl : public QRadioTunerControl
    59 class V4LRadioControl : public QRadioTunerControl
    60 {
    60 {
    62 public:
    62 public:
    63     V4LRadioControl(QObject *parent = 0);
    63     V4LRadioControl(QObject *parent = 0);
    64     ~V4LRadioControl();
    64     ~V4LRadioControl();
    65 
    65 
    66     bool isAvailable() const;
    66     bool isAvailable() const;
    67     QtMedia::AvailabilityError availabilityError() const;
    67     QtMediaServices::AvailabilityError availabilityError() const;
    68 
    68 
    69     QRadioTuner::State state() const;
    69     QRadioTuner::State state() const;
    70 
    70 
    71     QRadioTuner::Band band() const;
    71     QRadioTuner::Band band() const;
    72     void setBand(QRadioTuner::Band b);
    72     void setBand(QRadioTuner::Band b);