implements sending
This commit is contained in:
@@ -32,6 +32,9 @@ namespace DBusService {
|
||||
[DBus (name = "GetConversations")]
|
||||
public abstract GLib.HashTable<string, GLib.Variant>[] get_conversations() throws DBusError, IOError;
|
||||
|
||||
[DBus (name = "SyncConversationList")]
|
||||
public abstract void sync_conversation_list() throws DBusError, IOError;
|
||||
|
||||
[DBus (name = "SyncAllConversations")]
|
||||
public abstract void sync_all_conversations() throws DBusError, IOError;
|
||||
|
||||
@@ -41,9 +44,15 @@ namespace DBusService {
|
||||
[DBus (name = "ConversationsUpdated")]
|
||||
public signal void conversations_updated();
|
||||
|
||||
[DBus (name = "DeleteAllConversations")]
|
||||
public abstract void delete_all_conversations() throws DBusError, IOError;
|
||||
|
||||
[DBus (name = "GetMessages")]
|
||||
public abstract GLib.HashTable<string, GLib.Variant>[] get_messages(string conversation_id, string last_message_id) throws DBusError, IOError;
|
||||
|
||||
[DBus (name = "SendMessage")]
|
||||
public abstract string send_message(string conversation_id, string text) throws DBusError, IOError;
|
||||
|
||||
[DBus (name = "MessagesUpdated")]
|
||||
public signal void messages_updated(string conversation_id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user