The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
340 B
22 lines
340 B
5 years ago
|
#ifndef PLUGIN_IF_H
|
||
|
#define PLUGIN_IF_H
|
||
|
|
||
|
#include <QString>
|
||
|
#include <QtPlugin>
|
||
|
|
||
|
/**
|
||
|
* @brief Interface for a plugin
|
||
|
*/
|
||
|
class PluginInterface
|
||
|
{
|
||
|
public:
|
||
|
virtual ~PluginInterface() = default;
|
||
|
|
||
|
/// Initializes the plugin
|
||
|
virtual QString getResource() = 0;
|
||
|
};
|
||
|
|
||
|
Q_DECLARE_INTERFACE(PluginInterface, "demo.PluginInterface")
|
||
|
|
||
|
#endif
|