X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FExchangePlugin_ImportFeature.h;h=673a6d9509955ac69ccd9298798b1ea936a7f8a7;hb=04a8a265b25901dd54e34d449f8d0c64304f1e69;hp=f62fee937663c61eb31e5f33a126e04d93f2b726;hpb=228f06ff2186b4b0e7d13f0211c010b0cdd0c917;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/ExchangePlugin_ImportFeature.h b/src/ExchangePlugin/ExchangePlugin_ImportFeature.h index f62fee937..673a6d950 100644 --- a/src/ExchangePlugin/ExchangePlugin_ImportFeature.h +++ b/src/ExchangePlugin/ExchangePlugin_ImportFeature.h @@ -5,9 +5,16 @@ #include #include +#include #include + /**\class ExchangePlugin_ImportFeature + * \ingroup Plugins + * \brief Feature for import shapes from the external files in CAD formats. + * + * The set of supported formats is defined in the configuration file. + */ class ExchangePlugin_ImportFeature : public ModelAPI_Feature { public: @@ -23,8 +30,9 @@ class ExchangePlugin_ImportFeature : public ModelAPI_Feature static const std::string MY_FILE_PATH_ID("import_file_selector"); return MY_FILE_PATH_ID; } - + /// default constructor EXCHANGEPLUGIN_EXPORT ExchangePlugin_ImportFeature(); + /// default destructor EXCHANGEPLUGIN_EXPORT virtual ~ExchangePlugin_ImportFeature(); /// Returns the unique kind of a feature @@ -42,6 +50,7 @@ class ExchangePlugin_ImportFeature : public ModelAPI_Feature } protected: + /// POerforms the import of the file EXCHANGEPLUGIN_EXPORT bool importFile(const std::string& theFileName); private: