mirror of
https://github.com/logos-co/logos-capability-module.git
synced 2026-08-31 04:31:15 +00:00
19 lines
647 B
C++
19 lines
647 B
C++
#pragma once
|
|
|
|
#include <QtCore/QObject>
|
|
#include <QtCore/QString>
|
|
#include "interface.h"
|
|
|
|
class CapabilityModuleInterface : public PluginInterface
|
|
{
|
|
public:
|
|
virtual ~CapabilityModuleInterface() {}
|
|
Q_INVOKABLE virtual QString requestModule(const QString &fromModuleName, const QString &moduleName) = 0;
|
|
|
|
signals:
|
|
// for now this is required for events, later it might not be necessary if using a proxy
|
|
void eventResponse(const QString& eventName, const QVariantList& data);
|
|
};
|
|
|
|
#define CapabilityModuleInterface_iid "org.logos.CapabilityModuleInterface"
|
|
Q_DECLARE_INTERFACE(CapabilityModuleInterface, CapabilityModuleInterface_iid)
|