diff options
author | thlo <smarttv640@gmail.com> | 2013-08-17 21:55:16 +0200 |
---|---|---|
committer | thlo <smarttv640@gmail.com> | 2013-08-17 21:55:16 +0200 |
commit | 7786e978d8bd4e80d7e2e9755a6f61c0259094ef (patch) | |
tree | a9f5f7cac456008d3c4b035dda8b272ec7baf0b0 /httpresource.c | |
parent | 73bf14a787bfa4630c7241c4bdcbdcd92b03fc05 (diff) | |
download | vdr-plugin-smarttvweb-7786e978d8bd4e80d7e2e9755a6f61c0259094ef.tar.gz vdr-plugin-smarttvweb-7786e978d8bd4e80d7e2e9755a6f61c0259094ef.tar.bz2 |
RecCmds APIs.
Diffstat (limited to 'httpresource.c')
-rwxr-xr-x | httpresource.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/httpresource.c b/httpresource.c index 2832d5b..fcb7f82 100755 --- a/httpresource.c +++ b/httpresource.c @@ -315,11 +315,16 @@ int cHttpResource::processRequest() { return OKAY; } - if (mPath.compare("/reccmds") == 0) { + if (mPath.compare("/reccmds.xml") == 0) { mResponse = new cResponseMemBlk(this); ((cResponseMemBlk*)mResponse)->sendRecCmds(); return OKAY; } + if (mPath.compare("/execreccmd") == 0) { + mResponse = new cResponseMemBlk(this); + ((cResponseMemBlk*)mResponse)->receiveExecRecCmdReq(); + return OKAY; + } if (mPath.compare("/setResume.xml") == 0) { mResponse = new cResponseMemBlk(this); @@ -630,6 +635,11 @@ int cHttpResource::handlePost() { ((cResponseMemBlk*)mResponse)->receiveDelRecReq(); return OKAY; } + if (mPath.compare("/execreccmd") == 0) { + mResponse = new cResponseMemBlk(this); + ((cResponseMemBlk*)mResponse)->receiveExecRecCmdReq(); + return OKAY; + } if (mPath.compare("/deleteTimer.xml") == 0) { mResponse = new cResponseMemBlk(this); |