| 1 | // Aseprite |
| 2 | // Copyright (C) 2001-2017 David Capello |
| 3 | // |
| 4 | // This program is distributed under the terms of |
| 5 | // the End-User License Agreement for Aseprite. |
| 6 | |
| 7 | #ifndef APP_TOOLS_TOOL_GROUP_H_INCLUDED |
| 8 | #define APP_TOOLS_TOOL_GROUP_H_INCLUDED |
| 9 | #pragma once |
| 10 | |
| 11 | #include <string> |
| 12 | |
| 13 | namespace app { |
| 14 | namespace tools { |
| 15 | |
| 16 | // A group of tools. |
| 17 | class ToolGroup { |
| 18 | public: |
| 19 | ToolGroup(const char* id) : m_id(id) { } |
| 20 | |
| 21 | const std::string& id() const { return m_id; } |
| 22 | |
| 23 | private: |
| 24 | std::string m_id; |
| 25 | }; |
| 26 | |
| 27 | } // namespace tools |
| 28 | } // namespace app |
| 29 | |
| 30 | #endif // TOOLS_TOOL_GROUP_H_INCLUDED |
| 31 | |