]> SALOME platform Git repositories - modules/shaper.git/blob - src/Config/Config_Message.h
Salome HOME
All the git "*.orig" files removed and will be ignored since this commit.
[modules/shaper.git] / src / Config / Config_Message.h
1 #ifndef CONFIG_MESSAGE_H
2 #define CONFIG_MESSAGE_H
3
4 #include "Config.h"
5
6 #include <Event_Message.hxx>
7 #include <string>
8
9 class CONFIG_EXPORT Config_FeatureMessage : public Event_Message
10 {
11   std::string m_id;
12   std::string m_text;
13   std::string m_tooltip;
14   std::string m_icon;
15   std::string m_keysequence;
16
17   std::string m_groupId;
18   std::string m_groupText;
19   std::string m_workbenchId;
20   std::string m_workbenchText;
21
22 public:
23   //const Event_ID theID, const void* theSender = 0
24   Config_FeatureMessage(const Event_ID theId, const void* theParent = 0);
25
26   //Auto-generated getters/setters
27   const std::string& icon() const;
28   const std::string& id() const;
29   const std::string& keysequence() const;
30   const std::string& text() const;
31   const std::string& tooltip() const;
32   const std::string& groupId() const;
33   const std::string& groupText() const;
34   const std::string& workbenchId() const;
35   const std::string& workbenchText() const;
36
37   void setIcon(const std::string& icon);
38   void setId(const std::string& id);
39   void setKeysequence(const std::string& keysequence);
40   void setText(const std::string& text);
41   void setTooltip(const std::string& tooltip);
42   void setGroupId(const std::string& groupId);
43   void setGroupText(const std::string& groupText);
44   void setWorkbenchId(const std::string& workbenchId);
45   void setWorkbenchText(const std::string& workbenchText);
46 };
47
48 #endif // CONFIG_MESSAGE_H