Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
65690e30
Commit
65690e30
authored
Oct 02, 2007
by
Alexandre Bourget
Browse files
Take out getEvents() unintuitive call, and replace by calling directly initRegisterAccounts()
parent
8611345d
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/dbus/dbusmanagerimpl.cpp
View file @
65690e30
...
...
@@ -33,7 +33,8 @@ DBusManagerImpl::exec(){
_callManager
=
new
CallManager
(
conn
);
_configurationManager
=
new
ConfigurationManager
(
conn
);
Manager
::
instance
().
getEvents
();
// Register accounts
// Register accounts
Manager
::
instance
().
initRegisterAccounts
();
//getEvents();
_debug
(
"Starting DBus event loop
\n
"
);
_dispatcher
.
enter
();
...
...
src/managerimpl.cpp
View file @
65690e30
...
...
@@ -1252,11 +1252,14 @@ ManagerImpl::detachZeroconfEvents(Pattern::Observer& observer)
*
* @todo When is this called ? Why this name 'getEvents' ?
*/
/**
* DEPRECATED
bool
ManagerImpl::getEvents() {
initRegisterAccounts();
return true;
}
*/
// TODO: rewrite this
/**
...
...
src/managerimpl.h
View file @
65690e30
...
...
@@ -212,8 +212,10 @@ public:
* This function should definitively be renamed!
*
* @todo Receive account name (???)
*
* DEPRECATED
*/
bool
getEvents
();
//
bool getEvents();
//
bool
getZeroconf
(
const
std
::
string
&
sequenceId
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment