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