TranscodingSetup : fix misspelling name.
[vuplus_dvbapp] / lib / base / httpstream.h
1 #ifndef __lib_base_httpstream_h
2 #define __lib_base_httpstream_h
3
4 #include <string>
5 #include <lib/base/ebase.h>
6 #include <lib/base/itssource.h>
7 #include <lib/base/socketbase.h>
8
9 class eHttpStream: public iTsSource, public eSocketBase, public Object
10 {
11         DECLARE_REF(eHttpStream);
12
13         int streamSocket;
14
15         /* iTsSource */
16         off_t lseek(off_t offset, int whence);
17         ssize_t read(off_t offset, void *buf, size_t count);
18         off_t length();
19         int valid();
20
21 public:
22         eHttpStream();
23         ~eHttpStream();
24         int open(const char *url);
25         int close();
26 };
27
28 #endif