Chatterino
Public Member Functions | Public Attributes | List of all members
chatterino::NotificationController Class Referencefinal

#include <NotificationController.hpp>

Inheritance diagram for chatterino::NotificationController:
[legend]
Collaboration diagram for chatterino::NotificationController:
[legend]

Public Member Functions

virtual void initialize (Settings &settings, Paths &paths) override
 
bool isChannelNotified (const QString &channelName, Platform p)
 
void updateChannelNotification (const QString &channelName, Platform p)
 
void addChannelNotification (const QString &channelName, Platform p)
 
void removeChannelNotification (const QString &channelName, Platform p)
 
void playSound ()
 
SignalVector< QString > getVector (Platform p)
 
NotificationModelcreateModel (QObject *parent, Platform p)
 
- Public Member Functions inherited from chatterino::Singleton
virtual ~Singleton ()=default
 
virtual void save ()
 

Public Attributes

std::map< Platform, SignalVector< QString > > channelMap
 

Member Function Documentation

◆ addChannelNotification()

void chatterino::NotificationController::addChannelNotification ( const QString &  channelName,
Platform  p 
)
Here is the caller graph for this function:

◆ createModel()

NotificationModel * chatterino::NotificationController::createModel ( QObject *  parent,
Platform  p 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getVector()

SignalVector<QString> chatterino::NotificationController::getVector ( Platform  p)

◆ initialize()

void chatterino::NotificationController::initialize ( Settings settings,
Paths paths 
)
overridevirtual

Reimplemented from chatterino::Singleton.

◆ isChannelNotified()

bool chatterino::NotificationController::isChannelNotified ( const QString &  channelName,
Platform  p 
)
Here is the caller graph for this function:

◆ playSound()

void chatterino::NotificationController::playSound ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeChannelNotification()

void chatterino::NotificationController::removeChannelNotification ( const QString &  channelName,
Platform  p 
)
Here is the caller graph for this function:

◆ updateChannelNotification()

void chatterino::NotificationController::updateChannelNotification ( const QString &  channelName,
Platform  p 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ channelMap

std::map<Platform, SignalVector<QString> > chatterino::NotificationController::channelMap

The documentation for this class was generated from the following files: