aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhrxi <hrrrxi@gmail.com>2023-03-20 02:00:27 +0100
committerfiaxh <fiaxh@users.noreply.github.com>2023-03-24 19:32:50 +0100
commitb617bf7cc4ac2aa083bcf889816d0479fa353e10 (patch)
treeacf4cca09405ada29c367d67c745b01d2dfcc697
parent65efaca6fdcbc788060a0ecc4f7e10fbf5b79669 (diff)
downloaddino-b617bf7cc4ac2aa083bcf889816d0479fa353e10.tar.gz
dino-b617bf7cc4ac2aa083bcf889816d0479fa353e10.zip
Make members of `Plugins.Registry` public instead of internal
They are being used from outside the library.
-rw-r--r--libdino/src/plugin/registry.vala16
1 files changed, 8 insertions, 8 deletions
diff --git a/libdino/src/plugin/registry.vala b/libdino/src/plugin/registry.vala
index e2801508..6c0234ca 100644
--- a/libdino/src/plugin/registry.vala
+++ b/libdino/src/plugin/registry.vala
@@ -3,14 +3,14 @@ using Gee;
namespace Dino.Plugins {
public class Registry {
- internal HashMap<Entities.Encryption, EncryptionListEntry> encryption_list_entries = new HashMap<Entities.Encryption, EncryptionListEntry>();
- internal HashMap<string, CallEncryptionEntry> call_encryption_entries = new HashMap<string, CallEncryptionEntry>();
- internal ArrayList<AccountSettingsEntry> account_settings_entries = new ArrayList<AccountSettingsEntry>();
- internal ArrayList<ContactDetailsProvider> contact_details_entries = new ArrayList<ContactDetailsProvider>();
- internal Map<string, TextCommand> text_commands = new HashMap<string, TextCommand>();
- internal Gee.List<ConversationAdditionPopulator> conversation_addition_populators = new ArrayList<ConversationAdditionPopulator>();
- internal Gee.List<NotificationPopulator> notification_populators = new ArrayList<NotificationPopulator>();
- internal Gee.Collection<ConversationTitlebarEntry> conversation_titlebar_entries = new Gee.TreeSet<ConversationTitlebarEntry>((a, b) => {
+ public HashMap<Entities.Encryption, EncryptionListEntry> encryption_list_entries = new HashMap<Entities.Encryption, EncryptionListEntry>();
+ public HashMap<string, CallEncryptionEntry> call_encryption_entries = new HashMap<string, CallEncryptionEntry>();
+ public ArrayList<AccountSettingsEntry> account_settings_entries = new ArrayList<AccountSettingsEntry>();
+ public ArrayList<ContactDetailsProvider> contact_details_entries = new ArrayList<ContactDetailsProvider>();
+ public Map<string, TextCommand> text_commands = new HashMap<string, TextCommand>();
+ public Gee.List<ConversationAdditionPopulator> conversation_addition_populators = new ArrayList<ConversationAdditionPopulator>();
+ public Gee.List<NotificationPopulator> notification_populators = new ArrayList<NotificationPopulator>();
+ public Gee.Collection<ConversationTitlebarEntry> conversation_titlebar_entries = new Gee.TreeSet<ConversationTitlebarEntry>((a, b) => {
return (int)(a.order - b.order);
});
public VideoCallPlugin? video_call_plugin;