mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
28 lines
649 B
C++
28 lines
649 B
C++
#ifndef SHUTDOWNPLUGIN_H
|
|
#define SHUTDOWNPLUGIN_H
|
|
|
|
#include "pluginsiteminterface.h"
|
|
|
|
class ShutdownPlugin : public QObject, PluginsItemInterface
|
|
{
|
|
Q_OBJECT
|
|
Q_INTERFACES(PluginsItemInterface)
|
|
Q_PLUGIN_METADATA(IID "com.deepin.dock.PluginsItemInterface" FILE "shutdown.json")
|
|
|
|
public:
|
|
explicit ShutdownPlugin(QObject *parent = 0);
|
|
|
|
const QString pluginName() const;
|
|
void init(PluginProxyInterface *proxyInter);
|
|
|
|
ItemType pluginType(const QString &itemKey);
|
|
|
|
const QIcon itemIcon(const QString &itemKey);
|
|
const QString itemCommand(const QString &itemKey);
|
|
|
|
private:
|
|
QIcon m_icon;
|
|
};
|
|
|
|
#endif // SHUTDOWNPLUGIN_H
|