#include <teplugin.h>
Открытые члены | |
QStringList | keys () const |
TEBase * | create (const QString &key) |
The Trade equipment driver plugin is a simple plugin interface that makes it easy to create your own Trade equipment drivers plugins that can be loaded dynamically by Ananas and Qt.
Writing a Trade equipment plugin is achieved by subclassing this base class, reimplementing the pure virtual functions keys() and create(), and exporting the class with the TE_EXPORT_PLUGIN
macro. See the Ananas extensions plugins that come with Ananas for example implementations (in the {extensions} subdirectory of the source distribution). Read the plugins documentation for more information on plugins.
QStringList TEPlugin< Type >::keys | ( | ) | const [inline] |
Returns the list of extensions (keys) this plugin supports.
These keys are usually the class names of the custom extension that are implemented in the plugin.