Salome HOME
refs #30 - Sketch base GUI: create, draw lines
[modules/shaper.git] / src / XGUI / XGUI_Tools.h
index e8e3495e8225d186d5fb8dc96cffb71f085af781..5c8be08e85065d082c519e782efa1056285032ac 100644 (file)
@@ -5,19 +5,10 @@
 #include <QString>
 #include <QRect>
 
-/*!
- \brief Convert the given parameter to the platform-specific library name.
-
- The function appends platform-specific prefix (lib) and suffix (.dll/.so)
- to the library file name.
- For example, if \a str = "mylib", "libmylib.so" is returned for Linux and
- mylib.dll for Windows.
-
- \param str short library name
- \return full library name
- */
-QString XGUI_EXPORT library(const QString& str);
+#include <boost/shared_ptr.hpp>
 
+class TopoDS_Shape;
+class ModelAPI_Feature;
 /*!
  \brief Return directory part of the file path.
 
@@ -65,4 +56,9 @@ QString XGUI_EXPORT addSlash(const QString& path);
  */
 QRect XGUI_EXPORT makeRect(const int x1, const int y1, const int x2, const int y2);
 
+/*!
+ Returns the string presentation of the given feature
+ \param theFeature a feature
+*/
+std::string XGUI_EXPORT featureInfo(boost::shared_ptr<ModelAPI_Feature> theFeature);
 #endif