Chatterino
Link.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QString>
4 
5 namespace chatterino {
6 
7 struct Link {
8 public:
9  enum Type {
11  Url,
29  };
30 
31  Link();
32  Link(Type getType, const QString &getValue);
33 
35  QString value;
36 
37  bool isValid() const;
38  bool isUrl() const;
39 };
40 
41 } // namespace chatterino
Definition: Application.cpp:48