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