Ring Daemon 16.0.0
|
#include <preferences.h>
Public Member Functions | |
void | addAccount (const std::string &acc) |
const std::string & | getAccountOrder () const |
int | getHistoryLimit () const |
int | getHistoryMaxCalls () const |
bool | getMd5Hash () const |
int | getPortNum () const |
int | getRingingTimeout () const |
bool | getSearchBarDisplay () const |
std::string | getZoneToneChoice () const |
Preferences () | |
Default sound card index. | |
void | removeAccount (const std::string &acc) |
void | serialize (YAML::Emitter &out) const override |
void | setAccountOrder (const std::string &ord) |
void | setHistoryLimit (int lim) |
void | setHistoryMaxCalls (int max) |
void | setMd5Hash (bool md5) |
void | setPortNum (int port) |
void | setRingingTimeout (int timeout) |
void | setSearchBarDisplay (bool search) |
void | setZoneToneChoice (const std::string &str) |
void | unserialize (const YAML::Node &in) override |
void | verifyAccountOrder (const std::vector< std::string > &accounts) |
![]() | |
virtual | ~Serializable () |
Static Public Attributes | |
static const char *const | DFT_ZONE = "North America" |
static const char *const | REGISTRATION_EXPIRE_KEY = "registrationexpire" |
Definition at line 41 of file preferences.h.
jami::Preferences::Preferences | ( | ) |
Default sound card index.
Definition at line 145 of file preferences.cpp.
Definition at line 185 of file preferences.cpp.
References jami::emitSignal().
Referenced by jami::Manager::addAccount().
|
inline |
Definition at line 52 of file preferences.h.
Referenced by jami::Manager::loadAccountMap(), and jami::Manager::loadAccountOrder().
|
inline |
Definition at line 62 of file preferences.h.
Referenced by jami::Manager::getHistoryLimit().
|
inline |
Definition at line 70 of file preferences.h.
|
inline |
Definition at line 86 of file preferences.h.
|
inline |
Definition at line 78 of file preferences.h.
|
inline |
Definition at line 66 of file preferences.h.
Referenced by jami::Manager::getRingingTimeout().
|
inline |
Definition at line 82 of file preferences.h.
|
inline |
Definition at line 74 of file preferences.h.
Referenced by jami::ToneControl::setSampleRate().
Definition at line 195 of file preferences.cpp.
References jami::emitSignal().
Referenced by jami::Manager::removeAccount().
|
overridevirtual |
Implements jami::Serializable.
Definition at line 204 of file preferences.cpp.
References jami::emitSignal(), jami::HISTORY_LIMIT_KEY, jami::HISTORY_MAX_CALLS_KEY, jami::MD5_HASH_KEY, jami::ORDER_KEY, jami::PORT_NUM_KEY, jami::RINGING_TIMEOUT, jami::SEARCH_BAR_DISPLAY_KEY, and jami::ZONE_TONE_CHOICE_KEY.
Definition at line 60 of file preferences.h.
References jami::emitSignal().
Referenced by jami::Manager::setAccountsOrder().
Definition at line 64 of file preferences.h.
References jami::emitSignal().
Referenced by jami::Manager::setHistoryLimit().
Definition at line 72 of file preferences.h.
References jami::emitSignal().
Definition at line 87 of file preferences.h.
References jami::emitSignal().
Definition at line 80 of file preferences.h.
References jami::emitSignal().
Definition at line 68 of file preferences.h.
Referenced by jami::Manager::setRingingTimeout().
Definition at line 84 of file preferences.h.
Definition at line 76 of file preferences.h.
References jami::emitSignal().
Implements jami::Serializable.
Definition at line 220 of file preferences.cpp.
References jami::emitSignal(), jami::HISTORY_LIMIT_KEY, jami::HISTORY_MAX_CALLS_KEY, jami::MD5_HASH_KEY, jami::ORDER_KEY, jami::PORT_NUM_KEY, jami::RINGING_TIMEOUT, jami::SEARCH_BAR_DISPLAY_KEY, and jami::ZONE_TONE_CHOICE_KEY.
Referenced by jami::Manager::loadAccountMap().
Definition at line 157 of file preferences.cpp.
References jami::emitSignal(), and JAMI_DBG.
Definition at line 44 of file preferences.h.
Definition at line 45 of file preferences.h.