1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Made the default copy ctor and the assign operator of cRecording private

This commit is contained in:
Klaus Schmidinger 2007-10-14 10:09:08 +02:00
parent 72983f3e4c
commit c6ef96a6ae
3 changed files with 6 additions and 1 deletions

View File

@ -1965,6 +1965,7 @@ Markus Hahn <mhahn@reel-multimedia.com>
for suggesting that the "Back" key should restore the original string when pressed for suggesting that the "Back" key should restore the original string when pressed
while editing a string item while editing a string item
for fixing detection of Premiere NVOD channel links for fixing detection of Premiere NVOD channel links
for making the default copy ctor of cRecording private
Jaroslaw Swierczynski <swiergot@gmail.com> Jaroslaw Swierczynski <swiergot@gmail.com>
for updating the Polish OSD texts and the fontosd-iso8859-2.c file for updating the Polish OSD texts and the fontosd-iso8859-2.c file

View File

@ -5481,3 +5481,5 @@ Video Disk Recorder Revision History
- Removed a duplicate ',' from the ca_ES.po file (thanks to Thomas Günther). - Removed a duplicate ',' from the ca_ES.po file (thanks to Thomas Günther).
- Added the 'ß' character to the "allowed charcaters" in the de_DE.po file - Added the 'ß' character to the "allowed charcaters" in the de_DE.po file
(suggested by Thomas Günther). (suggested by Thomas Günther).
- Made the default copy ctor of cRecording private (thanks to Markus Hahn).
Same for the assign operator.

View File

@ -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 1.57 2007/06/17 12:53:05 kls Exp $ * $Id: recording.h 1.58 2007/10/14 10:06:48 kls Exp $
*/ */
#ifndef __RECORDING_H #ifndef __RECORDING_H
@ -72,6 +72,8 @@ private:
mutable char *name; mutable char *name;
mutable int fileSizeMB; mutable int fileSizeMB;
cRecordingInfo *info; cRecordingInfo *info;
cRecording(const cRecording&); // can't copy cRecording
cRecording &operator=(const cRecording &); // can't assign cRecording
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;