diff options
author | Marvin W <git@larma.de> | 2018-06-19 12:52:00 +0200 |
---|---|---|
committer | Samuel Hand <samuel.hand@openmailbox.org> | 2018-06-26 15:42:02 +0100 |
commit | 638d81d67ecd6c7c8be7fd67aeaf15d16486f8e9 (patch) | |
tree | ea1cf3c5f28477bc928777ea0379d2616170fd0b /libdino/src/plugin/interfaces.vala | |
parent | 2a8352c5439129798b5141ec021b3b9405840a8a (diff) | |
download | dino-638d81d67ecd6c7c8be7fd67aeaf15d16486f8e9.tar.gz dino-638d81d67ecd6c7c8be7fd67aeaf15d16486f8e9.zip |
More cleanup and database modifications
Diffstat (limited to 'libdino/src/plugin/interfaces.vala')
-rw-r--r-- | libdino/src/plugin/interfaces.vala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libdino/src/plugin/interfaces.vala b/libdino/src/plugin/interfaces.vala index 1bd3676b..09d4d921 100644 --- a/libdino/src/plugin/interfaces.vala +++ b/libdino/src/plugin/interfaces.vala @@ -80,6 +80,12 @@ public abstract interface ConversationItemPopulator : Object { public abstract void close(Conversation conversation); } +public abstract interface NotificationPopulator : Object { + public abstract string id { get; } + public abstract void init(Conversation conversation, NotificationCollection summary, WidgetType type); + public abstract void close(Conversation conversation); +} + public abstract class MetaConversationItem : Object { public virtual Jid? jid { get; set; default=null; } public virtual string color { get; set; default=null; } @@ -105,6 +111,9 @@ public abstract class MetaConversationNotification : Object { public interface ConversationItemCollection : Object { public signal void insert_item(MetaConversationItem item); public signal void remove_item(MetaConversationItem item); +} + +public interface NotificationCollection : Object { public signal void add_meta_notification(MetaConversationNotification item); public signal void remove_meta_notification(MetaConversationNotification item); } |