diff options
| author | Comment <tim@gray.(none)> | 2013-03-08 01:02:07 +0000 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-03-08 01:02:07 +0000 |
| commit | 8e1d11383ed4ef2e41b11fa88b475014c8c2ba5c (patch) | |
| tree | d365b70fa20417a72654a3756f8d1b22e2458219 /rotord/rotord.h | |
| parent | 4c2f390a7a47d396e9581e122633313f6a4295a9 (diff) | |
net stream files
Diffstat (limited to 'rotord/rotord.h')
| -rwxr-xr-x | rotord/rotord.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rotord/rotord.h b/rotord/rotord.h index f0f24ac..0eb7c76 100755 --- a/rotord/rotord.h +++ b/rotord/rotord.h @@ -19,6 +19,7 @@ #include "Poco/Util/OptionSet.h" #include "Poco/Util/HelpFormatter.h" #include "Poco/FileStream.h" +#include "Poco/Net/HTTPStreamFactory.h" #include <iostream> #include <sstream> @@ -43,6 +44,7 @@ using Poco::Util::Option; using Poco::Util::OptionSet; using Poco::Util::OptionCallback; using Poco::Util::HelpFormatter; +using Poco::Net::HTTPStreamFactory; //#include "avCodec.h" @@ -105,6 +107,7 @@ class RotorServer: public Poco::Util::ServerApplication int main(int argc, char** argv) { + HTTPStreamFactory::registerFactory(); RotorServer app; return app.run(argc, argv); } |
