#ifndef DOMAIN_LIBRARY_POPUP_H #define DOMAIN_LIBRARY_POPUP_H #include "rule.h" #include #include #include class EnumerationNode: AstNode { public: StringNode key; Value value; }; class Popup: AstNode { public: enum PopupType { AUTOMATIC, ON_DEMAND }; PopupType type; StringNode title; StringNode text; bool enumerated; std::vector enumeration; std::vector rules; Popup(); }; #endif // DOMAIN_LIBRARY_POPUP_H