rename #2
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#include "messages/link.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
namespace messages {
|
||||
|
||||
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 messages
|
||||
} // namespace chatterino
|
||||
Reference in New Issue
Block a user