Skip to content
Snippets Groups Projects
Commit 37707b5c authored by Pascal Engeler's avatar Pascal Engeler
Browse files

Added PATTERN to message

parent 3d2abb36
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,9 @@ struct Message {
Message(DRAWERMESSAGE message) : target(MESSAGETARGET::DRAWER), message(message), handled(false) {}
Message(GUIMESSAGE message) : target(MESSAGETARGET::GUI), message(message), handled(false) {}
Message(WAVEMESSAGE message) : target(MESSAGETARGET::WAVE), message(message), handled(false) {}
Message(PATTERNMESSAGE message) : target(MESSAGETARGET::PATTERN), message(message), handled(false) {}
MESSAGETARGET target;
std::variant<BLOCKCHAINMESSAGE, DRAWERMESSAGE, GUIMESSAGE, WAVEMESSAGE> message;
std::variant<BLOCKCHAINMESSAGE, DRAWERMESSAGE, GUIMESSAGE, WAVEMESSAGE, PATTERNMESSAGE> message;
bool handled;
};
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment