summaryrefslogtreecommitdiff
path: root/httpresource.c
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-09-15 08:12:04 +0200
committerthlo <smarttv640@gmail.com>2013-09-15 08:12:04 +0200
commit1e6b04826b45bbb0a9b2df1fa7413ef80b112e3a (patch)
tree14844e23f3db95fd545e56f6e4d37a3a09e2a30d /httpresource.c
parentb0bc0c365594276f6f14fec785e4fb8a37ad79c5 (diff)
downloadvdr-plugin-smarttvweb-1e6b04826b45bbb0a9b2df1fa7413ef80b112e3a.tar.gz
vdr-plugin-smarttvweb-1e6b04826b45bbb0a9b2df1fa7413ef80b112e3a.tar.bz2
New function to activate and deactivate a timer
Diffstat (limited to 'httpresource.c')
-rwxr-xr-xhttpresource.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/httpresource.c b/httpresource.c
index 76f7956..854cf96 100755
--- a/httpresource.c
+++ b/httpresource.c
@@ -352,14 +352,13 @@ int cHttpResource::processRequest() {
}
//thlo for testing purpose
-/*
- if (mPath.compare("/modifyTimer") == 0) {
+
+ if (mPath.compare("/activateTimer") == 0) {
mResponse = new cResponseMemBlk(this);
- ((cResponseMemBlk*)mResponse)->receiveModTimerReq();
+ ((cResponseMemBlk*)mResponse)->receiveActTimerReq();
return OKAY;
}
-*/
- //thlo for testing purpose
+
if (mPath.compare("/addTimer") == 0) {
mResponse = new cResponseMemBlk(this);
((cResponseMemBlk*)mResponse)->receiveAddTimerReq();