Go to the documentation of this file.
18 #ifndef KRADIO_V4LRADIO_RDS_DECODER_2AB_H
19 #define KRADIO_V4LRADIO_RDS_DECODER_2AB_H
25 #include <kdemacros.h>
29 #include <QtCore/QString>
32 #define max(a,b) ((a) > (b) ? (a) : (b))
35 #define RDS_2AB_POS_BLOCK RDS_BLK_B
36 #define RDS_2AB_POS_SHIFT 0
37 #define RDS_2AB_POS_MASK 0x000F
39 #define RDS_2AB_AB_FLAG_BLOCK RDS_BLK_B
40 #define RDS_2AB_AB_FLAG_MASK 0x0010
42 #define RDS_RADIOTEXT_A_MAX_LEN 64
43 #define RDS_RADIOTEXT_B_MAX_LEN 32
44 #define RDS_RADIOTEXT_MAX_LEN (max(RDS_RADIOTEXT_A_MAX_LEN, RDS_RADIOTEXT_B_MAX_LEN))
56 const QString &getRadioText()
const;