X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelHighAPI%2FModelHighAPI_Interface.h;h=fd536ca333427158dcc0a7fa7970814688700fad;hb=a3d6ec71bc857eb6e67d0bf9bc3fd841e7c73efe;hp=c9719f41a7f230a2a098d551b0460c6155f54bfb;hpb=53ad97caf19acc787fd7353f894e2304280de195;p=modules%2Fshaper.git diff --git a/src/ModelHighAPI/ModelHighAPI_Interface.h b/src/ModelHighAPI/ModelHighAPI_Interface.h index c9719f41a..fd536ca33 100644 --- a/src/ModelHighAPI/ModelHighAPI_Interface.h +++ b/src/ModelHighAPI/ModelHighAPI_Interface.h @@ -10,10 +10,12 @@ //-------------------------------------------------------------------------------------- #include "ModelHighAPI.h" +#include #include #include //-------------------------------------------------------------------------------------- class ModelAPI_Feature; +class ModelHighAPI_Selection; //-------------------------------------------------------------------------------------- /**\class ModelHighAPI_Interface * \ingroup CPPHighAPI @@ -35,12 +37,16 @@ public: /// Shortcut for feature()->getKind() MODELHIGHAPI_EXPORT - const std::string& getKind(); + const std::string& getKind() const; /// Shortcut for feature()->execute() MODELHIGHAPI_EXPORT void execute(); + /// Return all objects of the feature + MODELHIGHAPI_EXPORT + virtual std::list result() const; + /// Throw exception to event loop MODELHIGHAPI_EXPORT void throwException(const std::string & theDescription);