Mana
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | Friends | List of all members
ChannelManager Class Reference

#include <channelmanager.h>

Public Member Functions

 ChannelManager ()
 
 ~ChannelManager ()
 
ChannelfindById (int id) const
 
ChannelfindByName (const std::string &name) const
 
void addChannel (Channel *channel)
 
void removeChannel (Channel *channel)
 

Private Attributes

std::list< Channel * > mChannels
 

Friends

class ChatWindow
 

Detailed Description

Definition at line 30 of file channelmanager.h.

Constructor & Destructor Documentation

◆ ChannelManager()

ChannelManager::ChannelManager ( )

Definition at line 28 of file channelmanager.cpp.

◆ ~ChannelManager()

ChannelManager::~ChannelManager ( )

Definition at line 32 of file channelmanager.cpp.

Member Function Documentation

◆ addChannel()

void ChannelManager::addChannel ( Channel channel)

Definition at line 69 of file channelmanager.cpp.

◆ findById()

Channel * ChannelManager::findById ( int  id) const

Definition at line 38 of file channelmanager.cpp.

◆ findByName()

Channel * ChannelManager::findByName ( const std::string &  name) const

Definition at line 52 of file channelmanager.cpp.

◆ removeChannel()

void ChannelManager::removeChannel ( Channel channel)

Definition at line 74 of file channelmanager.cpp.

Friends And Related Symbol Documentation

◆ ChatWindow

friend class ChatWindow
friend

Definition at line 43 of file channelmanager.h.

Member Data Documentation

◆ mChannels

std::list<Channel*> ChannelManager::mChannels
private

Definition at line 44 of file channelmanager.h.


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