Skip to content

Commit

Permalink
Rename plugin interface definitions
Browse files Browse the repository at this point in the history
Issue: #2
  • Loading branch information
plfiorini committed May 15, 2022
1 parent 0b12a09 commit 6add883
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace Compositor {
namespace Internal {

Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader,
(QtWaylandClientBufferIntegrationFactoryInterface_iid, QLatin1String("/aurora/wayland-graphics-integration-server"), Qt::CaseInsensitive))
(AuroraClientBufferIntegrationFactoryInterface_iid, QLatin1String("/aurora/wayland-graphics-integration-server"), Qt::CaseInsensitive))

QStringList ClientBufferIntegrationFactory::keys()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ namespace Internal {

class ClientBufferIntegration;

#define QtWaylandClientBufferIntegrationFactoryInterface_iid "org.qt-project.Qt.WaylandCompositor.QtWaylandClientBufferIntegrationFactoryInterface.5.3"
#define AuroraClientBufferIntegrationFactoryInterface_iid "org.qt-project.Qt.WaylandCompositor.AuroraClientBufferIntegrationFactoryInterface.5.3"

class LIRIAURORACOMPOSITOR_EXPORT ClientBufferIntegrationPlugin : public QObject
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace Compositor {
namespace Internal {

Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader,
(QtWaylandHardwareLayerIntegrationFactoryInterface_iid, QLatin1String("/aurora/wayland-hardware-layer-integration"), Qt::CaseInsensitive))
(AuroraHardwareLayerIntegrationFactoryInterface_iid, QLatin1String("/aurora/wayland-hardware-layer-integration"), Qt::CaseInsensitive))

QStringList HardwareLayerIntegrationFactory::keys()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ namespace Internal {

class HardwareLayerIntegration;

#define QtWaylandHardwareLayerIntegrationFactoryInterface_iid "org.qt-project.Qt.Compositor.QtWaylandHardwareLayerIntegrationFactoryInterface.5.11"
#define AuroraHardwareLayerIntegrationFactoryInterface_iid "org.qt-project.Qt.Compositor.AuroraHardwareLayerIntegrationFactoryInterface.5.11"

class LIRIAURORACOMPOSITOR_EXPORT HardwareLayerIntegrationPlugin : public QObject
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace Compositor {
namespace Internal {

Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader,
(QtWaylandServerBufferIntegrationFactoryInterface_iid, QLatin1String("/aurora/wayland-graphics-integration-server"), Qt::CaseInsensitive))
(AuroraServerBufferIntegrationFactoryInterface_iid, QLatin1String("/aurora/wayland-graphics-integration-server"), Qt::CaseInsensitive))

QStringList ServerBufferIntegrationFactory::keys()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ namespace Internal {

class ServerBufferIntegration;

#define QtWaylandServerBufferIntegrationFactoryInterface_iid "org.qt-project.Qt.Compositor.QtWaylandServerBufferIntegrationFactoryInterface.5.3"
#define AuroraServerBufferIntegrationFactoryInterface_iid "org.qt-project.Qt.Compositor.AuroraServerBufferIntegrationFactoryInterface.5.3"

class LIRIAURORACOMPOSITOR_EXPORT ServerBufferIntegrationPlugin : public QObject
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Compositor {
class WaylandBrcmClientBufferIntegrationPlugin : public Internal::ClientBufferIntegrationPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID QtWaylandClientBufferIntegrationFactoryInterface_iid FILE "brcm-egl.json")
Q_PLUGIN_METADATA(IID AuroraClientBufferIntegrationFactoryInterface_iid FILE "brcm-egl.json")
public:
Internal::ClientBufferIntegration *create(const QString&, const QStringList&) override;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Compositor {
class DmaBufServerBufferIntegrationPlugin : public Internal::ServerBufferIntegrationPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID QtWaylandServerBufferIntegrationFactoryInterface_iid FILE "dmabuf-server.json")
Q_PLUGIN_METADATA(IID AuroraServerBufferIntegrationFactoryInterface_iid FILE "dmabuf-server.json")
public:
Internal::ServerBufferIntegration *create(const QString&, const QStringList&) override;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Compositor {
class DrmEglServerBufferIntegrationPlugin : public Internal::ServerBufferIntegrationPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID QtWaylandServerBufferIntegrationFactoryInterface_iid FILE "drm-egl-server.json")
Q_PLUGIN_METADATA(IID AuroraServerBufferIntegrationFactoryInterface_iid FILE "drm-egl-server.json")
public:
Internal::ServerBufferIntegration *create(const QString&, const QStringList&) override;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Compositor {
class Vsp2HardwareLayerIntegrationPlugin : public Internal::HardwareLayerIntegrationPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID QtWaylandHardwareLayerIntegrationFactoryInterface_iid FILE "vsp2.json")
Q_PLUGIN_METADATA(IID AuroraHardwareLayerIntegrationFactoryInterface_iid FILE "vsp2.json")
public:
Internal::HardwareLayerIntegration *create(const QString&, const QStringList&) override;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace Compositor {
class LibHybrisEglServerBufferIntegrationPlugin : public Internal::ServerBufferIntegrationPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID QtWaylandServerBufferIntegrationFactoryInterface_iid FILE "libhybris-egl-server.json")
Q_PLUGIN_METADATA(IID AuroraServerBufferIntegrationFactoryInterface_iid FILE "libhybris-egl-server.json")
public:
Internal::ServerBufferIntegration *create(const QString&, const QStringList&);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace Compositor {
class WaylandDmabufClientBufferIntegrationPlugin : public Internal::ClientBufferIntegrationPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID QtWaylandClientBufferIntegrationFactoryInterface_iid FILE "linux-dmabuf-unstable-v1.json")
Q_PLUGIN_METADATA(IID AuroraClientBufferIntegrationFactoryInterface_iid FILE "linux-dmabuf-unstable-v1.json")
public:
Internal::ClientBufferIntegration *create(const QString& key, const QStringList& paramList) override;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Compositor {
class ShmServerBufferIntegrationPlugin : public Internal::ServerBufferIntegrationPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID QtWaylandServerBufferIntegrationFactoryInterface_iid FILE "shm-emulation-server.json")
Q_PLUGIN_METADATA(IID AuroraServerBufferIntegrationFactoryInterface_iid FILE "shm-emulation-server.json")
public:
Internal::ServerBufferIntegration *create(const QString&, const QStringList&) override;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Compositor {
class VulkanServerBufferIntegrationPlugin : public Internal::ServerBufferIntegrationPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID QtWaylandServerBufferIntegrationFactoryInterface_iid FILE "vulkan-server.json")
Q_PLUGIN_METADATA(IID AuroraServerBufferIntegrationFactoryInterface_iid FILE "vulkan-server.json")
public:
Internal::ServerBufferIntegration *create(const QString&, const QStringList&) override;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace Compositor {
class WaylandEglClientBufferIntegrationPlugin : public Internal::ClientBufferIntegrationPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID QtWaylandClientBufferIntegrationFactoryInterface_iid FILE "wayland-egl.json")
Q_PLUGIN_METADATA(IID AuroraClientBufferIntegrationFactoryInterface_iid FILE "wayland-egl.json")
public:
Internal::ClientBufferIntegration *create(const QString&, const QStringList&) override;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace Compositor {
class WaylandEglStreamClientBufferIntegrationPlugin : public Internal::ClientBufferIntegrationPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID QtWaylandClientBufferIntegrationFactoryInterface_iid FILE "wayland-eglstream-controller.json")
Q_PLUGIN_METADATA(IID AuroraClientBufferIntegrationFactoryInterface_iid FILE "wayland-eglstream-controller.json")
public:
Internal::ClientBufferIntegration *create(const QString& key, const QStringList& paramList) override;
};
Expand Down

0 comments on commit 6add883

Please sign in to comment.