#pragma once #include namespace chatterino { struct Link { public: enum Type { None, Url, CloseCurrentSplit, UserInfo, UserTimeout, UserBan, UserWhisper, InsertText, ShowMessage, UserAction, AutoModAllow, AutoModDeny, }; Link(); Link(Type getType, const QString &getValue); Type type; QString value; bool isValid() const; }; } // namespace chatterino