summaryrefslogtreecommitdiff
path: root/rdsreceiver.h
blob: 8b65c8b001a5c4fbe856eab349052aea339e2c4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * rdsreceiver.h
 *
 *  Created on: 27.05.2018
 *      Author: uli
 */

#ifndef __RDSRECEIVER_H_
#define __RDSRECEIVER_H_

#include <vdr/receiver.h>

// RDS-Receiver for seperate Data-Pids
class cRDSReceiver : public cReceiver {
private:
    int pid;
    bool rt_start;
    bool rt_bstuff;
protected:
#if VDRVERSNUM >= 20300
    virtual void Receive(const uchar *Data, int Length);
#else
    virtual void Receive(uchar *Data, int Length);
#endif
public:
    cRDSReceiver(int Pid);
    virtual ~cRDSReceiver(void);
};


#endif /* __RDSRECEIVER_H_ */