Index: sources/device/DeviceController.h =================================================================== diff -u -rdeaef8b5bdfe9be7293e63fb6ac256a9ce3cd3f4 -r8f4dcc80fadbccfc152b28ea09466a2ab2ee7333 --- sources/device/DeviceController.h (.../DeviceController.h) (revision deaef8b5bdfe9be7293e63fb6ac256a9ce3cd3f4) +++ sources/device/DeviceController.h (.../DeviceController.h) (revision 8f4dcc80fadbccfc152b28ea09466a2ab2ee7333) @@ -261,6 +261,7 @@ void onLogBackup (const QString &vFileName ); void onLogUpload (const QString &vFileName ); + void onFilesList (const QString &vFilesPath, const QStringList &vFilesFilters); protected: void timerEvent(QTimerEvent *) override; @@ -444,6 +445,7 @@ */ void didWiFiIP ( const QString &vData ); + void didReadFilesList ( const QFileInfoList &vFilesList); private: // ----- USB void usbCheck (); @@ -462,6 +464,9 @@ void wifiInfoRequest(); void wifiConnectRequest(const DeviceWifiConnectRequestData &vData); + QFileInfoList readFilesList(const QString &vPath, const QStringList &vFilter); + + SAFE_CALL_EX2(doAddWatch, const QString &, bool) }; }