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