| 377 | } |
| 378 | |
| 379 | void Processor::onMood(function<void(const detector::Mood&)> callback) { |
| 380 | auto detector = getMoodAnalyzer(); |
| 381 | detector->onMood.add(callback); |
| 382 | } |
| 383 | |
| 384 | void Processor::onMoodChange(function<void(const detector::Mood&)> callback) { |
| 385 | auto detector = getMoodAnalyzer(); |