You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
533 B
C++

#ifndef POSTREGISTER_H
#define POSTREGISTER_H
#include "postregister_global.h"
#include <QObject>
#include <imetadataplugin.h>
class POSTREGISTERSHARED_EXPORT PostRegister : public QObject, IMetaDataPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID PluginInterface_iid FILE "postregister.json")
Q_INTERFACES(IPlugin)
public:
PostRegister() = default;
// IMetaDataPlugin interface
protected:
void initServiceUi() override;
// IPlugin interface
public:
bool showIcon() override;
};
#endif // POSTREGISTER_H