Files
qt-creator/share/qtcreator/templates/wizards/qtquick2-extension/plugin.h
T

22 lines
406 B
C++
Raw Normal View History

@if '%{Cpp:PragmaOnce}'
2016-03-18 07:55:01 +01:00
#pragma once
@else
#ifndef %ProjectName:h%_PLUGIN_H
#define %ProjectName:h%_PLUGIN_H
@endif
2010-03-19 13:52:16 +01:00
#include <QQmlExtensionPlugin>
2010-03-19 13:52:16 +01:00
class %ProjectName:s%Plugin : public QQmlExtensionPlugin
2010-03-19 13:52:16 +01:00
{
Q_OBJECT
Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
2010-03-19 13:52:16 +01:00
public:
void registerTypes(const char *uri) override;
2010-03-19 13:52:16 +01:00
};
@if ! '%{Cpp:PragmaOnce}'
#endif // %ProjectName:h%_PLUGIN_H
@endif