dde-dock/plugins/system-tray/systemtrayplugin.h
石博文 d9d2faccca add system tray plugin
Change-Id: Iba6e206e506ecfd50f8600fefd7b150e27117f97
2016-08-02 09:28:06 +08:00

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