• Guillaume Roguez's avatar
    call: fix OCP violation · 8855505e
    Guillaume Roguez authored
    "RoboCop watching you"
    
    IM dedicated code has been inserted into Call::setState()
    and it's an Open Close Principle violation.
    Move it into a dedicated function and assign it to call state
    change as listener.
    
    As code changed, also make a better state listening implementation
    that do not depend on listener call order.
    
    Notice: TODO have been inserted, it's for another patch.
    
    Change-Id: Ibe37555320de1dec173338a62323320d3d93bb4a
    Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
    8855505e
Name
Last commit
Last update
MSVC Loading commit data...
bin Loading commit data...
contrib Loading commit data...
doc Loading commit data...
docker Loading commit data...
extras/tools Loading commit data...
m4 Loading commit data...
man Loading commit data...
ringtones Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitreview Loading commit data...
AUTHORS Loading commit data...
CODING Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
astylerc Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
globals.mk Loading commit data...