forked from openkylin/ukui-search
19 lines
490 B
C++
19 lines
490 B
C++
#ifndef UKUISEARCHDIRWATCHERDBUS_H
|
|
#define UKUISEARCHDIRWATCHERDBUS_H
|
|
|
|
#include <QSystemSemaphore>
|
|
#include "qtsingleapplication.h"
|
|
|
|
class UkuiSearchDirManagerDbus : public QtSingleApplication
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
UkuiSearchDirManagerDbus(int &argc, char *argv[], const QString &applicationName = "ukui-search-service-dir-manager");
|
|
protected Q_SLOTS:
|
|
void parseCmd(QString msg, bool isPrimary);
|
|
private:
|
|
QSystemSemaphore m_semaphore;
|
|
};
|
|
|
|
#endif // UKUISEARCHDIRWATCHERDBUS_H
|