libqmlbind
A C library for creating QML bindings for other languages easily through exporting objects to QML
plugin.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "qmlbind_global.h"
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 
60 QMLBIND_API qmlbind_plugin *qmlbind_plugin_new(const char *filename);
61 
65 QMLBIND_API void qmlbind_plugin_release(qmlbind_plugin *self);
66 
73 
89 
91 #ifdef __cplusplus
92 }
93 #endif
an opaque struct mainly used as self argument in the methods defined in qmlbind_value.
Definition: qmlbind_global.h:64
QMLBIND_API void qmlbind_plugin_release(qmlbind_plugin *self)
Destroys this qmlbind_plugin.
Contains all struct definitions of libqmlbind.
QMLBIND_API qmlbind_plugin * qmlbind_plugin_new(const char *filename)
Constructs a plugin loader that will load the plugin specified by filename.
QMLBIND_API qmlbind_value * qmlbind_plugin_get_instance(qmlbind_plugin *self, qmlbind_engine *engine)
Returns the root component object of the plugin. The plugin is loaded if necessary.
QMLBIND_API qmlbind_string * qmlbind_plugin_get_error_string(qmlbind_plugin *self)
Returns a text string with the description of the last error that occurred.
an opaque struct mainly used as self argument in the methods defined in qmlbind_engine.
Definition: qmlbind_global.h:60
an opaque struct mainly used as self argument in the methods defined in qmlbind_string.
Definition: qmlbind_global.h:66
an opaque struct mainly used as self argument in the methods defined in qmlbind_plugin.
Definition: qmlbind_global.h:62