mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Finally removed the code marked with __RECORDING_H_DEPRECATED_DIRECT_MEMBER_ACCESS and LEGACY_CRECEIVER
This commit is contained in:
parent
68d5e7b548
commit
eec6b1d818
2
HISTORY
2
HISTORY
@ -7135,3 +7135,5 @@ Video Disk Recorder Revision History
|
|||||||
"LCARS" is the new default skin of VDR. It requires at least a 4bpp (16 color) full
|
"LCARS" is the new default skin of VDR. It requires at least a 4bpp (16 color) full
|
||||||
screen OSD, but you can still operate it if your OSD can handle only fewer colors
|
screen OSD, but you can still operate it if your OSD can handle only fewer colors
|
||||||
(in which case you may want to switch to the "ST:TNG" or "Classic VDR" skin).
|
(in which case you may want to switch to the "ST:TNG" or "Classic VDR" skin).
|
||||||
|
- Finally removed the code marked with __RECORDING_H_DEPRECATED_DIRECT_MEMBER_ACCESS
|
||||||
|
and LEGACY_CRECEIVER.
|
||||||
|
16
receiver.c
16
receiver.c
@ -4,27 +4,13 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: receiver.c 2.6 2012/03/31 10:15:26 kls Exp $
|
* $Id: receiver.c 2.7 2012/06/02 13:20:38 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "receiver.h"
|
#include "receiver.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "tools.h"
|
#include "tools.h"
|
||||||
|
|
||||||
#ifdef LEGACY_CRECEIVER
|
|
||||||
cReceiver::cReceiver(tChannelID ChannelID, int Priority, int Pid, const int *Pids1, const int *Pids2, const int *Pids3)
|
|
||||||
{
|
|
||||||
device = NULL;
|
|
||||||
channelID = ChannelID;
|
|
||||||
priority = constrain(Priority, MINPRIORITY, MAXPRIORITY);
|
|
||||||
numPids = 0;
|
|
||||||
AddPid(Pid);
|
|
||||||
AddPids(Pids1);
|
|
||||||
AddPids(Pids2);
|
|
||||||
AddPids(Pids3);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
cReceiver::cReceiver(const cChannel *Channel, int Priority)
|
cReceiver::cReceiver(const cChannel *Channel, int Priority)
|
||||||
{
|
{
|
||||||
device = NULL;
|
device = NULL;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: receiver.h 2.7 2012/03/31 10:18:29 kls Exp $
|
* $Id: receiver.h 2.8 2012/06/02 13:20:44 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __RECEIVER_H
|
#ifndef __RECEIVER_H
|
||||||
@ -14,8 +14,6 @@
|
|||||||
|
|
||||||
#define MAXRECEIVEPIDS 64 // the maximum number of PIDs per receiver
|
#define MAXRECEIVEPIDS 64 // the maximum number of PIDs per receiver
|
||||||
|
|
||||||
//#define LEGACY_CRECEIVER // Code enclosed with this macro is deprecated and may be removed in a future version
|
|
||||||
|
|
||||||
class cReceiver {
|
class cReceiver {
|
||||||
friend class cDevice;
|
friend class cDevice;
|
||||||
private:
|
private:
|
||||||
@ -40,9 +38,6 @@ protected:
|
|||||||
///< will be delivered only ONCE, so the cReceiver must make sure that
|
///< will be delivered only ONCE, so the cReceiver must make sure that
|
||||||
///< it will be able to buffer the data if necessary.
|
///< it will be able to buffer the data if necessary.
|
||||||
public:
|
public:
|
||||||
#ifdef LEGACY_CRECEIVER
|
|
||||||
cReceiver(tChannelID ChannelID, int Priority, int Pid, const int *Pids1 = NULL, const int *Pids2 = NULL, const int *Pids3 = NULL);
|
|
||||||
#endif
|
|
||||||
cReceiver(const cChannel *Channel = NULL, int Priority = MINPRIORITY);
|
cReceiver(const cChannel *Channel = NULL, int Priority = MINPRIORITY);
|
||||||
///< Creates a new receiver for the given Channel with the given Priority.
|
///< Creates a new receiver for the given Channel with the given Priority.
|
||||||
///< If Channel is not NULL, its pids are set by a call to SetPids().
|
///< If Channel is not NULL, its pids are set by a call to SetPids().
|
||||||
|
10
recording.h
10
recording.h
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: recording.h 2.30 2012/03/13 12:41:05 kls Exp $
|
* $Id: recording.h 2.31 2012/06/02 13:22:53 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __RECORDING_H
|
#ifndef __RECORDING_H
|
||||||
@ -22,8 +22,6 @@
|
|||||||
#define TIMERMACRO_TITLE "TITLE"
|
#define TIMERMACRO_TITLE "TITLE"
|
||||||
#define TIMERMACRO_EPISODE "EPISODE"
|
#define TIMERMACRO_EPISODE "EPISODE"
|
||||||
|
|
||||||
//#define __RECORDING_H_DEPRECATED_DIRECT_MEMBER_ACCESS // Code enclosed with this macro is deprecated and may be removed in a future version
|
|
||||||
|
|
||||||
extern bool VfatFileSystem;
|
extern bool VfatFileSystem;
|
||||||
extern int InstanceId;
|
extern int InstanceId;
|
||||||
|
|
||||||
@ -100,9 +98,6 @@ private:
|
|||||||
static char *StripEpisodeName(char *s);
|
static char *StripEpisodeName(char *s);
|
||||||
char *SortName(void) const;
|
char *SortName(void) const;
|
||||||
int GetResume(void) const;
|
int GetResume(void) const;
|
||||||
#ifdef __RECORDING_H_DEPRECATED_DIRECT_MEMBER_ACCESS
|
|
||||||
public:
|
|
||||||
#endif
|
|
||||||
time_t start;
|
time_t start;
|
||||||
int priority;
|
int priority;
|
||||||
int lifetime;
|
int lifetime;
|
||||||
@ -208,9 +203,6 @@ class cMark : public cListObject {
|
|||||||
friend class cMarks; // for sorting
|
friend class cMarks; // for sorting
|
||||||
private:
|
private:
|
||||||
double framesPerSecond;
|
double framesPerSecond;
|
||||||
#ifdef __RECORDING_H_DEPRECATED_DIRECT_MEMBER_ACCESS
|
|
||||||
public:
|
|
||||||
#endif
|
|
||||||
int position;
|
int position;
|
||||||
cString comment;
|
cString comment;
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user