ircclientstarter.h 439 B

123456789101112131415161718192021222324
  1. #ifndef IRCCLIENTSTARTER_H
  2. #define IRCCLIENTSTARTER_H
  3. #include "httpserver.h"
  4. #include "ircclient.h"
  5. #include <QObject>
  6. class IrcClientStarter : public QObject
  7. {
  8. Q_OBJECT
  9. public:
  10. explicit IrcClientStarter(ConnectionData conf, HttpServer* web, QObject *parent = nullptr);
  11. public slots:
  12. void RunInit();
  13. private:
  14. IrcClient* m_ircClient;
  15. HttpServer* m_webUi;
  16. ConnectionData m_conf;
  17. };
  18. #endif // IRCCLIENTSTARTER_H