Move everything into the QHttpEngine namespace.

This commit is contained in:
Nathan Osman
2017-07-07 21:56:09 -07:00
parent 6fea4fbd61
commit 61d219721e
60 changed files with 295 additions and 136 deletions

View File

@@ -68,8 +68,8 @@ int main(int argc, char * argv[])
QString dir = parser.value(dirOption);
// Create the filesystem handler and server
FilesystemHandler handler(dir);
Server server(&handler);
QHttpEngine::FilesystemHandler handler(dir);
QHttpEngine::Server server(&handler);
// Attempt to listen on the specified port
if (!server.listen(address, port)) {