mirror of
https://github.com/QuasarApp/SoundBand.git
synced 2025-05-12 15:09:35 +00:00
34 lines
539 B
C++
34 lines
539 B
C++
#ifndef APP_H
|
|
#define APP_H
|
|
|
|
#include <QObject>
|
|
#include "syncengine.h"
|
|
|
|
class SyncEngine;
|
|
class QQmlApplicationEngine;
|
|
class ImageProvider;
|
|
|
|
/**
|
|
* @brief The App class
|
|
* general application object
|
|
*/
|
|
class App : public QObject
|
|
{
|
|
private:
|
|
SyncEngine *syncEngine;
|
|
QQmlApplicationEngine *qmlEngine;
|
|
ImageProvider *imageProvider;
|
|
|
|
public:
|
|
explicit App(QObject *ptr = nullptr);
|
|
|
|
/**
|
|
* @brief run app
|
|
* @return false if app not running, true if all done
|
|
*/
|
|
bool run();
|
|
~App();
|
|
};
|
|
|
|
#endif // APP_H
|