climanager.h 415 B

123456789101112131415161718192021
  1. #ifndef CLIMANAGER_H
  2. #define CLIMANAGER_H
  3. #include "config.h"
  4. #include "qmlhandler.h"
  5. #include <QGuiApplication>
  6. namespace CliManager {
  7. void setQmlHandler(QMLHandler *q);
  8. extern bool loggedin;
  9. void init(bool useSSL);
  10. void writeToCli(QString s);
  11. void readPipeLoop();
  12. void notificationsLoop();
  13. void statusLoop();
  14. void onExit();
  15. void setProgramActive(bool active);
  16. } // namespace CliManager
  17. #endif // CLIMANAGER_H