anotherim-desktop/libdino/src/application.vala

26 lines
802 B
Vala
Raw Normal View History

2017-03-02 14:37:32 +00:00
using Gtk;
using Dino.Entities;
public class Dino.Application : Gtk.Application {
2017-03-02 14:37:32 +00:00
public Database db;
public StreamInteractor stream_interaction;
public Plugins.Registry plugin_registry = new Plugins.Registry();
2017-03-02 14:37:32 +00:00
public Application() {
this.db = new Database("store.sqlite3");
this.stream_interaction = new StreamInteractor(db);
AvatarManager.start(stream_interaction, db);
MessageManager.start(stream_interaction, db);
CounterpartInteractionManager.start(stream_interaction);
PresenceManager.start(stream_interaction);
MucManager.start(stream_interaction);
RosterManager.start(stream_interaction);
ConversationManager.start(stream_interaction, db);
ChatInteraction.start(stream_interaction);
}
}