mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
refactor(diagnosewidget): update service availability checks, D-Bus integration
This commit is contained in:
@@ -48,6 +48,11 @@
|
||||
#include <QUrl>
|
||||
#include <QVBoxLayout>
|
||||
#include <QWidget>
|
||||
#ifdef __linux__
|
||||
#include <QDBusConnection>
|
||||
#include <QDBusConnectionInterface>
|
||||
#include <QStandardPaths>
|
||||
#endif
|
||||
|
||||
#include "service.h"
|
||||
|
||||
@@ -106,8 +111,8 @@ private:
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
bool checkUdevRulesInstalled();
|
||||
bool checkAvahiDaemonRunning();
|
||||
SERVICE_AVAILABILITY checkUdevRulesInstalled();
|
||||
SERVICE_AVAILABILITY checkAvahiDaemonRunning();
|
||||
#endif
|
||||
|
||||
QVBoxLayout *m_mainLayout;
|
||||
|
||||
Reference in New Issue
Block a user