diff options
author | thlo <smarttv640@gmail.com> | 2013-05-11 15:45:00 +0200 |
---|---|---|
committer | thlo <t.lohmar@gmx.de> | 2013-05-11 15:45:00 +0200 |
commit | f547b104261cab5394a515c3f2a87396b68a7c11 (patch) | |
tree | dc05639fb53cff2c37963fad7dad06a20366adb7 /httpclient.c | |
parent | 85eb824baf4031444b5375f2e8c44f33bfbbaf5b (diff) | |
download | vdr-plugin-smarttvweb-f547b104261cab5394a515c3f2a87396b68a7c11.tar.gz vdr-plugin-smarttvweb-f547b104261cab5394a515c3f2a87396b68a7c11.tar.bz2 |
OsdStatusMessage added.
Diffstat (limited to 'httpclient.c')
-rw-r--r-- | httpclient.c | 16 |
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 +"}";; +} |