equal
deleted
inserted
replaced
54 void PluginStream::close() |
54 void PluginStream::close() |
55 { |
55 { |
56 m_loaderclient->stop(); |
56 m_loaderclient->stop(); |
57 } |
57 } |
58 |
58 |
59 void PluginStream::createNPStreamL(TPtrC8 url, TPtrC16 mimetype, long long length) |
59 void PluginStream::createNPStreamL(TPtrC8 url, TPtrC16 mimetype, long long length, const char* headers) |
60 { |
60 { |
61 |
61 |
62 NPError error( NPERR_NO_ERROR ); |
62 NPError error( NPERR_NO_ERROR ); |
63 |
63 |
64 |
64 |
82 m_stream->pdata = m_pluginskin->getNPP()->pdata; |
82 m_stream->pdata = m_pluginskin->getNPP()->pdata; |
83 m_stream->ndata = m_pluginskin->pluginWin(); |
83 m_stream->ndata = m_pluginskin->pluginWin(); |
84 m_stream->url = url16->AllocL(); |
84 m_stream->url = url16->AllocL(); |
85 m_stream->end = length; |
85 m_stream->end = length; |
86 m_stream->lastmodified = 0; |
86 m_stream->lastmodified = 0; |
87 m_stream->notifyData = m_notifydata; |
87 m_stream->notifyData = m_notifydata; |
|
88 m_stream->headers = headers; |
88 |
89 |
89 |
90 |
90 error = m_pluginskin->getNPPluginFucs()->newstream ( m_pluginskin->getNPP(), |
91 error = m_pluginskin->getNPPluginFucs()->newstream ( m_pluginskin->getNPP(), |
91 *mime8, |
92 *mime8, |
92 m_stream, |
93 m_stream, |