summaryrefslogtreecommitdiff
path: root/httpclient.c
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-05-11 15:45:00 +0200
committerthlo <t.lohmar@gmx.de>2013-05-11 15:45:00 +0200
commitf547b104261cab5394a515c3f2a87396b68a7c11 (patch)
treedc05639fb53cff2c37963fad7dad06a20366adb7 /httpclient.c
parent85eb824baf4031444b5375f2e8c44f33bfbbaf5b (diff)
downloadvdr-plugin-smarttvweb-f547b104261cab5394a515c3f2a87396b68a7c11.tar.gz
vdr-plugin-smarttvweb-f547b104261cab5394a515c3f2a87396b68a7c11.tar.bz2
OsdStatusMessage added.
Diffstat (limited to 'httpclient.c')
-rw-r--r--httpclient.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/httpclient.c b/httpclient.c
index f1dd793..a3fb192 100644
--- a/httpclient.c
+++ b/httpclient.c
@@ -389,3 +389,19 @@ cHttpInfoClient::~cHttpInfoClient() {
string cHttpInfoClient::getMsgBody(int) {
return "{\"type\":\"INFO\",payload:" + mBody +"}";;
}
+
+
+//--------------------------------
+//----- cHttpMesgPushClient ------
+//--------------------------------
+cHttpMesgPushClient::cHttpMesgPushClient(int f, int id, int port, SmartTvServer* fac, string peer, string mesg) : cHttpClientBase(f, id, port, fac, peer), mMesg(mesg) {
+
+ createRequestMessage("");
+}
+
+cHttpMesgPushClient::~cHttpMesgPushClient() {
+}
+
+string cHttpMesgPushClient::getMsgBody(int) {
+ return "{\"type\":\"MESG\",payload:" + mMesg +"}";;
+}