|
Ring Daemon
|
#include <account_factory.h>

Public Member Functions | |
| template<> | |
| std::size_t | accountCount () const |
| template<class T = Account> | |
| std::size_t | accountCount () const |
| template<> | |
| std::size_t | accountCount () const |
| AccountFactory () | |
| template<> | |
| void | clear () |
| template<class T = Account> | |
| void | clear () |
| template<> | |
| void | clear () |
| std::shared_ptr< Account > | createAccount (std::string_view accountType, const std::string &id) |
| template<> | |
| bool | empty () const |
| template<class T = Account> | |
| bool | empty () const |
| template<> | |
| bool | empty () const |
| template<> | |
| std::shared_ptr< Account > | getAccount (std::string_view accountId) const |
| template<> | |
| std::shared_ptr< Account > | getAccount (std::string_view id) const |
| template<class T = Account> | |
| std::shared_ptr< T > | getAccount (std::string_view id) const |
| template<> | |
| std::vector< std::shared_ptr< Account > > | getAllAccounts () const |
| template<class T = Account> | |
| std::vector< std::shared_ptr< T > > | getAllAccounts () const |
| template<> | |
| std::vector< std::shared_ptr< Account > > | getAllAccounts () const |
| template<> | |
| bool | hasAccount (std::string_view id) const |
| template<class T = Account> | |
| bool | hasAccount (std::string_view id) const |
| template<> | |
| bool | hasAccount (std::string_view id) const |
| bool | isSupportedType (std::string_view accountType) const |
| void | removeAccount (Account &account) |
| void | removeAccount (std::string_view id) |
Static Public Attributes | |
| static const std::string_view | DEFAULT_ACCOUNT_TYPE = SIPAccount::ACCOUNT_TYPE |
Definition at line 34 of file account_factory.h.
| jami::AccountFactory::AccountFactory | ( | ) |
Definition at line 31 of file account_factory.cpp.
References jami::JamiAccount::ACCOUNT_TYPE, and jami::SIPAccount::ACCOUNT_TYPE.
| std::size_t jami::AccountFactory::accountCount | ( | ) | const |
Definition at line 166 of file account_factory.cpp.
References jami::emitSignal().

Definition at line 80 of file account_factory.h.
References jami::emitSignal().

| std::size_t jami::AccountFactory::accountCount | ( | ) | const |
| void jami::AccountFactory::clear | ( | ) |
Definition at line 110 of file account_factory.cpp.
References jami::emitSignal().

Definition at line 59 of file account_factory.h.
References jami::emitSignal().

| void jami::AccountFactory::clear | ( | ) |
| std::shared_ptr< Account > jami::AccountFactory::createAccount | ( | std::string_view | accountType, |
| const std::string & | id | ||
| ) |
Definition at line 40 of file account_factory.cpp.
References jami::emitSignal(), hasAccount(), and JAMI_ERROR.
Referenced by jami::Manager::addAccount(), jami::Manager::loadAccountAndConversation(), and jami::Manager::loadAccountMap().

| bool jami::AccountFactory::empty | ( | ) | const |
Definition at line 151 of file account_factory.cpp.
References jami::emitSignal().

Definition at line 71 of file account_factory.h.
References jami::emitSignal().

| bool jami::AccountFactory::empty | ( | ) | const |
| std::shared_ptr< Account > jami::AccountFactory::getAccount | ( | std::string_view | accountId | ) | const |
| std::shared_ptr< Account > jami::AccountFactory::getAccount | ( | std::string_view | id | ) | const |
Definition at line 135 of file account_factory.cpp.
References jami::emitSignal().

|
inline |
Definition at line 92 of file account_factory.h.
References jami::emitSignal().
Referenced by removeAccount().

| std::vector< std::shared_ptr< Account > > jami::AccountFactory::getAllAccounts | ( | ) | const |
Definition at line 118 of file account_factory.cpp.
References jami::emitSignal().

|
inline |
Definition at line 108 of file account_factory.h.
References jami::emitSignal().

| std::vector< std::shared_ptr< Account > > jami::AccountFactory::getAllAccounts | ( | ) | const |
| bool jami::AccountFactory::hasAccount | ( | std::string_view | id | ) | const |
Definition at line 95 of file account_factory.cpp.
References jami::emitSignal().

|
inline |
Definition at line 50 of file account_factory.h.
References jami::emitSignal().
Referenced by createAccount(), jami::Manager::hasAccount(), and jami::Manager::loadAccountMap().

| bool jami::AccountFactory::hasAccount | ( | std::string_view | id | ) | const |
| bool jami::AccountFactory::isSupportedType | ( | std::string_view | accountType | ) | const |
Definition at line 63 of file account_factory.cpp.
Definition at line 69 of file account_factory.cpp.
References jami::emitSignal(), and JAMI_DEBUG.
Referenced by jami::Manager::removeAccount(), and removeAccount().

| void jami::AccountFactory::removeAccount | ( | std::string_view | id | ) |
Definition at line 83 of file account_factory.cpp.
References jami::emitSignal(), getAccount(), JAMI_ERROR, and removeAccount().

|
static |
Definition at line 37 of file account_factory.h.
Referenced by jami::Manager::addAccount().