#include <HighlightController.hpp>
|
bool | alert {false} |
| true if highlight should trigger the taskbar to flash More...
|
|
bool | playSound {false} |
| true if highlight should play a notification sound More...
|
|
boost::optional< QUrl > | customSoundUrl {} |
| Can be set to a different sound that should play when this highlight is activated. More...
|
|
std::shared_ptr< QColor > | color {} |
| set if highlight should set a background color More...
|
|
bool | showInMentions {false} |
| true if highlight should show message in the /mentions split More...
|
|
◆ HighlightResult()
chatterino::HighlightResult::HighlightResult |
( |
bool |
_alert, |
|
|
bool |
_playSound, |
|
|
boost::optional< QUrl > |
_customSoundUrl, |
|
|
std::shared_ptr< QColor > |
_color, |
|
|
bool |
_showInMentions |
|
) |
| |
|
inline |
◆ empty()
bool chatterino::HighlightResult::empty |
( |
| ) |
const |
|
inline |
Returns true if no side-effect has been enabled.
◆ emptyResult()
◆ full()
bool chatterino::HighlightResult::full |
( |
| ) |
const |
|
inline |
Returns true if all side-effects have been enabled.
◆ operator!=()
bool chatterino::HighlightResult::operator!= |
( |
const HighlightResult & |
other | ) |
const |
|
inline |
◆ operator==()
bool chatterino::HighlightResult::operator== |
( |
const HighlightResult & |
other | ) |
const |
|
inline |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const HighlightResult & |
result |
|
) |
| |
|
friend |
◆ alert
bool chatterino::HighlightResult::alert {false} |
true if highlight should trigger the taskbar to flash
◆ color
std::shared_ptr<QColor> chatterino::HighlightResult::color {} |
set if highlight should set a background color
◆ customSoundUrl
boost::optional<QUrl> chatterino::HighlightResult::customSoundUrl {} |
Can be set to a different sound that should play when this highlight is activated.
May only be set if playSound is true
◆ playSound
bool chatterino::HighlightResult::playSound {false} |
true if highlight should play a notification sound
◆ showInMentions
bool chatterino::HighlightResult::showInMentions {false} |
true if highlight should show message in the /mentions split
The documentation for this struct was generated from the following file: