1
/* Copyright 2011-2013 Yorba Foundation
3
* This software is licensed under the GNU Lesser General Public License
4
* (version 2.1 or later). See the COPYING file in this distribution.
7
[DBus (name = "org.yorba.Geary.Conversation", timeout = 120000)]
8
public class Geary.DBus.Conversation : Object {
10
public static const string INTERFACE_NAME = "org.yorba.Geary.Conversation";
12
private Geary.App.Conversation conversation;
13
private Geary.Folder folder;
15
public Conversation(Geary.App.Conversation c, Geary.Folder f) {
20
public async ObjectPath[] get_emails() throws IOError {
21
Gee.List<Geary.Email> pool = conversation.get_emails(Geary.App.Conversation.Ordering.DATE_ASCENDING);
23
return new ObjectPath[0];
25
ObjectPath[] paths = new ObjectPath[0];
27
foreach (Geary.Email e in pool) {
28
paths += new ObjectPath(Database.instance.get_email_path(e, folder));