ukui-notification/notification-server/server.h

26 lines
471 B
C++

//
// Created by zpf on 23-1-31.
//
#ifndef UKUI_NOTIFICATION_SERVER_H
#define UKUI_NOTIFICATION_SERVER_H
#include <QObject>
namespace NotificationServer {
class ServerPrivate;
class Server : public QObject
{
Q_OBJECT
public:
static Server &self();
~Server();
bool init();
private:
explicit Server(QObject *parent = nullptr);
Q_DISABLE_COPY(Server)
ServerPrivate *d = nullptr;
};
} // NotificationServer
#endif //UKUI_NOTIFICATION_SERVER_H