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
commit9dd62e850315f7aa75b8455a2141133c75e4942e (patch)
tree14844e23f3db95fd545e56f6e4d37a3a09e2a30d /httpresource.c
parent60bfd8aad9a4ab7d810d6a6bf82fe71f64d56263 (diff)
downloadvdr-plugin-smarttvweb-9dd62e850315f7aa75b8455a2141133c75e4942e.tar.gz
vdr-plugin-smarttvweb-9dd62e850315f7aa75b8455a2141133c75e4942e.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();