X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_FeatureMessage.h;h=98201cf6f57d9c57f7349da91266acca706828d9;hb=0479361746467f244b7ccfd1d25443677bdea8a6;hp=ff14c46aefbe385cc5599575ebafdc27ac5ecc64;hpb=db5492dd0ee02cfff7abd5710332f43483968bfa;p=modules%2Fshaper.git diff --git a/src/Config/Config_FeatureMessage.h b/src/Config/Config_FeatureMessage.h index ff14c46ae..98201cf6f 100644 --- a/src/Config/Config_FeatureMessage.h +++ b/src/Config/Config_FeatureMessage.h @@ -1,45 +1,113 @@ -#ifndef CONFIG_MESSAGE_H -#define CONFIG_MESSAGE_H - -#include "Config.h" - -#include -#include - -class CONFIG_EXPORT Config_FeatureMessage : public Event_Message -{ - - std::string myId; - std::string myText; - std::string myTooltip; - std::string myIcon; - std::string myKeysequence; - - std::string myGroupId; - std::string myWorkbenchId; - -public: - //const Event_ID theID, const void* theSender = 0 - Config_FeatureMessage(const Event_ID theId, const void* theParent = 0); - - //Auto-generated getters/setters - const std::string& icon() const; - const std::string& id() const; - const std::string& keysequence() const; - const std::string& text() const; - const std::string& tooltip() const; - - const std::string& groupId() const; - const std::string& workbenchId() const; - - void setIcon(const std::string& icon); - void setId(const std::string& id); - void setKeysequence(const std::string& keysequence); - void setText(const std::string& text); - void setTooltip(const std::string& tooltip); - - void setGroupId(const std::string& groupId); - void setWorkbenchId(const std::string& workbenchId); -}; - -#endif // CONFIG_MESSAGE_H +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + +#ifndef CONFIG_MESSAGE_H +#define CONFIG_MESSAGE_H + +#include +#include + +#include + +/*! + * \class Config_FeatureMessage + * \ingroup Config + * \brief Class to pass a feature entry extracted from xml file. + * Example of the feature entry: + * \code + * + * \endcode + */ +class Config_FeatureMessage : public Events_Message +{ + std::string myId; ///