OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
qml_plugin.hpp
1
#pragma once
2
#include <ossia/detail/config.hpp>
3
4
#include <QQmlExtensionInterface>
5
#include <QQmlExtensionPlugin>
6
7
#include <ossia_export.h>
8
9
#include <verdigris>
10
namespace
ossia::qt
11
{
12
#if defined(OSSIA_DISABLE_QT_PLUGIN)
13
class
OSSIA_EXPORT qml_plugin
14
{
15
public
:
16
static
void
reg(
const
char
* uri);
17
};
18
#else
19
class
OSSIA_EXPORT qml_plugin :
public
QQmlExtensionPlugin
20
{
21
Q_OBJECT
22
Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
23
24
public
:
25
static
void
reg(
const
char
* uri);
26
27
void
registerTypes(
const
char
* uri)
override
;
28
};
29
#endif
30
}
src
ossia-qt
qml_plugin.hpp
Generated on Mon Mar 31 2025 23:58:28 for OSSIA by
1.9.8