mirror-chatterino2/src/messages/Link.cpp
2018-06-26 16:37:59 +02:00

22 lines
291 B
C++

#include "messages/Link.hpp"
namespace chatterino {
Link::Link()
: type(None)
, value(QString())
{
}
Link::Link(Type _type, const QString &_value)
: type(_type)
, value(_value)
{
}
bool Link::isValid() const
{
return this->type != None;
}
} // namespace chatterino