17 #ifndef BERRYIEXTENSIONELEMENT_H_
18 #define BERRYIEXTENSIONELEMENT_H_
103 virtual QObject* CreateExecutableExtension(
const QString& propertyName)
const = 0;
108 C*
interface = qobject_cast<C*>(this->CreateExecutableExtension(propertyName));
109 if (interface ==
nullptr)
112 <<
" does not seem to implement the required interface \""
113 << qobject_interface_iid<C*>() <<
"\", or you forgot the Q_INTERFACES macro.";
140 virtual QString
GetAttribute(
const QString& name)
const = 0;
160 virtual QList<QString> GetAttributeNames()
const = 0;
184 virtual QList<IConfigurationElement::Pointer> GetChildren()
const = 0;
196 virtual QList<IConfigurationElement::Pointer> GetChildren(
const QString& name)
const = 0;
219 virtual QString
GetName()
const = 0;
251 virtual QString GetValue()
const = 0;
271 virtual QString GetValue(
const QLocale& locale)
const = 0;
279 virtual QString GetNamespaceIdentifier()
const = 0;
295 virtual bool IsValid()
const = 0;
Light weight base class for most BlueBerry classes.
Implements transparent reference counting.
#define org_blueberry_core_runtime_EXPORT
C * CreateExecutableExtension(const QString &propertyName) const
#define berryObjectMacro(...)
#define GetAttribute(name, type)
static std::string GetName(std::string fileName, std::string suffix)