mirror-chatterino2/src/common.hpp

24 lines
355 B
C++
Raw Normal View History

2018-02-05 15:11:50 +01:00
#pragma once
#include "debug/log.hpp"
2018-02-05 15:11:50 +01:00
#include <QString>
#include <boost/preprocessor.hpp>
#include <string>
2018-02-05 15:11:50 +01:00
namespace chatterino {
enum class HighlightState {
None,
Highlighted,
NewMessage,
};
inline QString qS(const std::string &string)
{
return QString::fromStdString(string);
}
} // namespace chatterino