mirror-chatterino2/src/common.hpp

21 lines
272 B
C++
Raw Normal View History

#pragma once
#include <QString>
#include <string>
namespace chatterino {
2017-12-26 12:30:32 +01:00
enum class HighlightState {
None,
Highlighted,
NewMessage,
};
inline QString qS(const std::string &string)
{
return QString::fromStdString(string);
}
} // namespace chatterino