mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
25 lines
557 B
C++
25 lines
557 B
C++
#ifndef SYSTEMTRAYPLUGIN_H
|
|
#define SYSTEMTRAYPLUGIN_H
|
|
|
|
#include "pluginsiteminterface.h"
|
|
|
|
#include "dbus/dbustraymanager.h"
|
|
|
|
class SystemTrayPlugin : public QObject, PluginsItemInterface
|
|
{
|
|
Q_OBJECT
|
|
Q_INTERFACES(PluginsItemInterface)
|
|
Q_PLUGIN_METADATA(IID "com.deepin.dock.PluginsItemInterface" FILE "system-tray.json")
|
|
|
|
public:
|
|
explicit SystemTrayPlugin(QObject *parent = 0);
|
|
|
|
const QString pluginName() const;
|
|
void init(PluginProxyInterface *proxyInter);
|
|
|
|
private:
|
|
DBusTrayManager *m_trayInter;
|
|
};
|
|
|
|
#endif // SYSTEMTRAYPLUGIN_H
|