forked from Green-Sky/tomato
remove leftover tcm in tam
This commit is contained in:
parent
2654cd1b19
commit
e6a86869d9
@ -55,7 +55,7 @@ MainScreen::MainScreen(const SimpleConfigModel& conf_, SDL_Renderer* renderer_,
|
||||
#endif
|
||||
theme(theme_),
|
||||
mmil(rmm),
|
||||
tam(os, cs, conf, tcm),
|
||||
tam(os, cs, conf),
|
||||
sdlrtu(renderer_),
|
||||
tal(cs, os),
|
||||
contact_tc(tal, sdlrtu),
|
||||
|
@ -33,9 +33,8 @@ namespace Components {
|
||||
ToxAvatarManager::ToxAvatarManager(
|
||||
ObjectStore2& os,
|
||||
ContactStore4I& cs,
|
||||
ConfigModelI& conf,
|
||||
ToxContactModel2& tcm
|
||||
) : _os(os), _os_sr(_os.newSubRef(this)), _cs(cs), _conf(conf), _tcm(tcm), _sb_tcs(os) {
|
||||
ConfigModelI& conf
|
||||
) : _os(os), _os_sr(_os.newSubRef(this)), _cs(cs), _conf(conf), _sb_tcs(os) {
|
||||
_os_sr
|
||||
.subscribe(ObjectStore_Event::object_construct)
|
||||
.subscribe(ObjectStore_Event::object_update)
|
||||
|
@ -20,7 +20,6 @@ class ToxAvatarManager : public ObjectStoreEventI {
|
||||
ObjectStore2::SubscriptionReference _os_sr;
|
||||
ContactStore4I& _cs;
|
||||
ConfigModelI& _conf;
|
||||
ToxContactModel2& _tcm;
|
||||
|
||||
Backends::STDFS _sb_tcs;
|
||||
|
||||
@ -34,8 +33,7 @@ class ToxAvatarManager : public ObjectStoreEventI {
|
||||
ToxAvatarManager(
|
||||
ObjectStore2& os,
|
||||
ContactStore4I& cs,
|
||||
ConfigModelI& conf,
|
||||
ToxContactModel2& tcm
|
||||
ConfigModelI& conf
|
||||
);
|
||||
|
||||
void iterate(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user