cfcac99ae6
You can create clips with `/clip` command, `Alt+X` keybind or `Create a clip` option in split header's context menu. This requires a new authentication scope so re-authentication will be required to use it. Co-authored-by: Leon Richardt <leon.richardt@gmail.com> Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
39 lines
610 B
C++
39 lines
610 B
C++
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
namespace chatterino {
|
|
|
|
struct Link {
|
|
public:
|
|
enum Type {
|
|
None,
|
|
Url,
|
|
CloseCurrentSplit,
|
|
UserInfo,
|
|
UserTimeout,
|
|
UserBan,
|
|
UserWhisper,
|
|
InsertText,
|
|
ShowMessage,
|
|
UserAction,
|
|
AutoModAllow,
|
|
AutoModDeny,
|
|
OpenAccountsPage,
|
|
JumpToChannel,
|
|
Reconnect,
|
|
CopyToClipboard,
|
|
};
|
|
|
|
Link();
|
|
Link(Type getType, const QString &getValue);
|
|
|
|
Type type;
|
|
QString value;
|
|
|
|
bool isValid() const;
|
|
bool isUrl() const;
|
|
};
|
|
|
|
} // namespace chatterino
|