[vdr] Move class declarations to headerfiles

Thomas Maass mase at setho.org
Thu Sep 5 14:25:31 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I wanna write a recmenu plugin similar to extrecmenu. And when I look
into the code
of extrecmenu, the developer had to implement everything himself, even
calling a
recording's info screen. Also functions as play, rewind, delete etc.

I want to implement the hdd-archive, renaming and moving functions.
First I wrote a
patch for VDR, which adds these functions to VDR's original recmenu. But
I don't want
to fix the patch with every upcoming VDR version. I posted the first
version of the patch
last week.

So I decided to start a recmenu Plugin with archive-hdd support. As I
use mostly original
functions, I always have to copy the whole original recmenu code and
make some small
changes to it.

It it impossible to simply add a "bool cRecording::IsArchive()" method.
By now, I implemented
my own cRecordings and cRecordingItem class, and added the method there.
The rest is
a copy of VDR's original class.

What about the few class declarations you made in the sourcefiles?

Thomas

- -- 
gpg-id: D31AAEEA
http://www.setho.org/people
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQEcBAEBAgAGBQJSKHg7AAoJEMMw//HTGq7q3A8H/iKRSiBjC8t4dfMGjJhJs2cn
sQxBfQnWwt4DMxNeHKcGaxMZPtFc9SUcokdOrJkHICsmzpo01SWNHkyRz1IJq+PZ
DGilAanHmtHjB+9n4bsK0usKerAs1TEnrVUVEddqxs0fqK+dFDi/9ShZpAyP2j31
6hvVUzMqoHI3AX9eGHXv3e2gEGVRUC3w9ucI1drYmqDefQmnDX4yZ8d7z+7JAt5M
uBMFNi2n4CCcaCo4sxj8btFScmOuE8zgbuVD9mqglfKvuaT5NMNCKNTF1TWIiZP4
VcJ2KPIeJfumsDHisUEqnJ64FUd5ta3LR5yBpGDPuPWwsDdwZaUQR2YfP5h4/Wg=
=ijyA
-----END PGP SIGNATURE-----




More information about the vdr mailing list