#ifndef CTKDICOMABSTRACTHOST_H #define CTKDICOMABSTRACTHOST_H #include #include class ctkDicomAbstractHostPrivate; /** * Provide a basic implementation for an application host. * * It starts a http server and serves one hosted application. Multiple instances * can be used for hosting multiple applications. * * The methods of the ctkDicomHostInterface have to be implemented for the business logic, * */ class ctkDicomAbstractHost : public ctkDicomHostInterface { public: /** * Start the soap sever on the specified port or choose port automatically. */ ctkDicomAbstractHost(int port = 0); int getPort() const; ~ctkDicomAbstractHost(); private: Q_DECLARE_PRIVATE(ctkDicomAbstractHost) const QScopedPointer d_ptr; }; #endif // CTKDICOMABSTRACTHOST_H