26#ifndef __HOTPLUG_ACTION_EXTENSION__
27#define __HOTPLUG_ACTION_EXTENSION__
52 static HotPlugActionExtension* newHotPlugActionExtension(
const QString& camitkFilePath,
bool forceVerifyOrRebuild);
58 virtual QString getName()
const override;
61 virtual QString getDescription()
const override;
68 virtual void init()
override;
75 virtual bool initActions(
int progressMinimum = 0,
int progressMaximum = 100) = 0;
78 virtual int declaredActionCount()
const;
86 bool isSuccessfullyLoaded();
#define CAMITK_API
Definition CamiTKAPI.h:66
VariantDataModel encapsulates QVariant and can be used as a model for any type of QVariant supported ...
Definition VariantDataModel.h:124
This class describes what is a generic Action extension.
Definition ActionExtension.h:57
An ActionExtension that can be created on the fly from a camitk extension file.
Definition HotPlugActionExtension.h:44
bool successfullyLoaded
true if the extension as well ass all the actions libraries were loaded successfully
Definition HotPlugActionExtension.h:96
virtual QString getProgrammingLanguage() const =0
get the programming language of this extension (either C++ or Python)
QString description
description in few word/sentences
Definition HotPlugActionExtension.h:93
virtual bool initActions(int progressMinimum=0, int progressMaximum=100)=0
instantiate all the actions (might generate some warnings)
QString name
short name of the extension (as it will displayed in the Dev Studio menu for instance)
Definition HotPlugActionExtension.h:90