X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSetPlugin%2FPartSetPlugin_Plugin.h;fp=src%2FPartSetPlugin%2FPartSetPlugin_Plugin.h;h=364ebb48dfbf4f12e2fbd571930136890e3c3b0b;hb=47c024e673a2da5094f8f233124c412d0fcdc9b4;hp=9969cb403b4dc407299a26cff2e1999e575ac7ea;hpb=a3cd8f27f76183cfc2d0728e6388696ab9dce1b8;p=modules%2Fshaper.git diff --git a/src/PartSetPlugin/PartSetPlugin_Plugin.h b/src/PartSetPlugin/PartSetPlugin_Plugin.h index 9969cb403..364ebb48d 100644 --- a/src/PartSetPlugin/PartSetPlugin_Plugin.h +++ b/src/PartSetPlugin/PartSetPlugin_Plugin.h @@ -7,19 +7,28 @@ #ifndef PartSetPlugin_Plugin_H_ #define PartSetPlugin_Plugin_H_ -#include "PartSetPlugin.h" -#include "ModelAPI_Plugin.h" -#include "ModelAPI_Feature.h" +#include +#include +#include +#include -class PARTSETPLUGIN_EXPORT PartSetPlugin_Plugin : public ModelAPI_Plugin +#include + +#include + +class PARTSETPLUGIN_EXPORT PartSetPlugin_Plugin : public ModelAPI_Plugin, + public Events_Listener { public: /// Creates the feature object of this plugin by the feature string ID virtual FeaturePtr createFeature(std::string theFeatureID); - public: /// Is needed for python wrapping by swig PartSetPlugin_Plugin(); + + //! Redefinition of Events_Listener method + virtual void processEvent(const std::shared_ptr& theMessage); + std::shared_ptr getFeaturesState(); }; #endif