#include <QString>
#include <QRect>
+#include <ModelAPI_Feature.h>
+
+#include <boost/shared_ptr.hpp>
+
/*!
\brief Return directory part of the file path.
\param abs if true (default) \a path parameter is treated as absolute file path
\return directory part of the file path
*/
+namespace XGUI_Tools {
QString XGUI_EXPORT dir(const QString& path, bool isAbs = true);
/*!
*/
QRect XGUI_EXPORT makeRect(const int x1, const int y1, const int x2, const int y2);
+/// The model concerning tools
+
+/*!
+ Returns true if the feature is a model object
+ \param theFeature a feature
+ */
+bool XGUI_EXPORT isModelObject(FeaturePtr theFeature);
+
+/*!
+ Returns the string presentation of the given feature
+ \param theFeature a feature
+ */
+std::string XGUI_EXPORT featureInfo(FeaturePtr theFeature);
+}
+
#endif