reorg
This commit is contained in:
18
src/service/repository-service.vala
Normal file
18
src/service/repository-service.vala
Normal file
@@ -0,0 +1,18 @@
|
||||
using GLib;
|
||||
|
||||
[DBus (name = "net.buzzert.kordophone.Repository")]
|
||||
public interface RepositoryService : Object {
|
||||
public abstract string get_version() throws DBusError, IOError;
|
||||
|
||||
[DBus (signature = "aa{sv}")]
|
||||
public abstract Variant get_conversations() throws DBusError, IOError;
|
||||
|
||||
public abstract void sync_all_conversations() throws DBusError, IOError;
|
||||
public abstract void sync_conversation(string conversation_id) throws DBusError, IOError;
|
||||
|
||||
[DBus (signature = "aa{sv}")]
|
||||
public abstract Variant get_messages(string conversation_id, string last_message_id) throws DBusError, IOError;
|
||||
|
||||
public signal void conversations_updated();
|
||||
public signal void messages_updated(string conversation_id);
|
||||
}
|
||||
Reference in New Issue
Block a user