Hobrasoft httpd server
Embedded HTTP server for Qt and C++
main.cpp
Go to the documentation of this file.
1 
7 #include <QCoreApplication>
8 #include "application.h"
9 #include "httpd.h"
10 #include "main.h"
11 
12 Example::Application *Example::application = NULL;
13 
14 int main (int argc, char *argv[]) {
15  QCoreApplication app(argc, argv);
16  app.setOrganizationName ("hobrasoft");
17  app.setOrganizationDomain ("hobrasoft.cz");
18  app.setApplicationName ("hobrasofthttpd");
19  app.setApplicationVersion ("1.0.0");
20 
21  Example::application = new Example::Application(0);
22  new Example::Httpd::Httpd(0);
23 
24  return app.exec();
25 
26 }
27 
28 
29 
Example application.
Definition: application.h:16
Own implementation of HTTP server.
Definition: httpd.h:31