add more immich control options
This commit is contained in:
@@ -24,9 +24,10 @@ signals:
|
||||
void nextImage();
|
||||
void nextFolder();
|
||||
void restart();
|
||||
void immichControl(const QString &payload);
|
||||
|
||||
private slots:
|
||||
void handleCommand(const QString &payload);
|
||||
void handleMessage(const QString &topic, const QString &payload);
|
||||
|
||||
private:
|
||||
static void HandleConnect(struct mosquitto *mosq, void *userdata, int rc);
|
||||
@@ -35,6 +36,8 @@ private:
|
||||
void subscribe();
|
||||
|
||||
MqttConfig config;
|
||||
QString controlTopic;
|
||||
QString immichTopic;
|
||||
struct mosquitto *client = nullptr;
|
||||
bool connected = false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user