Removed code stub for obsolete SVDRP command MOVT

This commit is contained in:
Klaus Schmidinger 2012-02-16 12:38:48 +01:00
parent 6c7b28705e
commit 6a93cfe0c9
3 changed files with 3 additions and 12 deletions

View File

@ -6880,3 +6880,4 @@ Video Disk Recorder Revision History
- An ongoing editing process is now canceled if either the original or the edited
version of the recording is deleted from the Recordings menu.
- The SVDRP command DELR now won't delete a recording that is currently being edited.
- Removed code stub for obsolete SVDRP command MOVT.

11
svdrp.c
View File

@ -10,7 +10,7 @@
* and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection.
*
* $Id: svdrp.c 2.14 2012/02/16 12:25:05 kls Exp $
* $Id: svdrp.c 2.15 2012/02/16 12:38:19 kls Exp $
*/
#include "svdrp.h"
@ -256,8 +256,6 @@ const char *HelpPages[] = {
" used to easily activate or deactivate a timer.",
"MOVC <number> <to>\n"
" Move a channel to a new position.",
"MOVT <number> <to>\n"
" Move a timer to a new position.",
"NEWC <settings>\n"
" Create a new channel. Settings must be in the same format as returned\n"
" by the LSTC command.",
@ -1287,12 +1285,6 @@ void cSVDRP::CmdMOVC(const char *Option)
Reply(501, "Missing channel number");
}
void cSVDRP::CmdMOVT(const char *Option)
{
//TODO combine this with menu action
Reply(502, "MOVT not yet implemented");
}
void cSVDRP::CmdNEWC(const char *Option)
{
if (*Option) {
@ -1636,7 +1628,6 @@ void cSVDRP::Execute(char *Cmd)
else if (CMD("MODC")) CmdMODC(s);
else if (CMD("MODT")) CmdMODT(s);
else if (CMD("MOVC")) CmdMOVC(s);
else if (CMD("MOVT")) CmdMOVT(s);
else if (CMD("NEWC")) CmdNEWC(s);
else if (CMD("NEWT")) CmdNEWT(s);
else if (CMD("NEXT")) CmdNEXT(s);

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: svdrp.h 2.1 2011/12/04 13:51:44 kls Exp $
* $Id: svdrp.h 2.2 2012/02/16 12:37:53 kls Exp $
*/
#ifndef __SVDRP_H
@ -71,7 +71,6 @@ private:
void CmdMODC(const char *Option);
void CmdMODT(const char *Option);
void CmdMOVC(const char *Option);
void CmdMOVT(const char *Option);
void CmdNEWC(const char *Option);
void CmdNEWT(const char *Option);
void CmdNEXT(const char *Option);