~ubuntu-branches/ubuntu/saucy/geary/saucy-updates

« back to all changes in this revision

Viewing changes to src/engine/abstract/geary-abstract-folder.vala

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-03-14 13:48:23 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20130314134823-gyk5av1g508zyj8a
Tags: 0.3.0~pr1-0ubuntu1
New upstream version (FFE lp: #1154316), supports multiple account as
well as full conversation views with inline replies

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
        Geary.SpecialFolderType new_type) {
48
48
        special_folder_type_changed(old_type, new_type);
49
49
    }
 
50
 
 
51
    public abstract Geary.Account account { get; }
50
52
    
51
53
    public abstract Geary.FolderPath get_path();
52
54
    
53
 
    public abstract Geary.Trillian has_children();
 
55
    public abstract Geary.FolderProperties get_properties();
54
56
    
55
57
    public abstract Geary.SpecialFolderType get_special_folder_type();
56
58
    
68
70
    
69
71
    public abstract async void open_async(bool readonly, Cancellable? cancellable = null) throws Error;
70
72
    
 
73
    public abstract async void wait_for_open_async(Cancellable? cancellable = null) throws Error;
 
74
    
71
75
    public abstract async void close_async(Cancellable? cancellable = null) throws Error;
72
76
    
73
 
    public abstract async int get_email_count_async(Cancellable? cancellable = null) throws Error;
74
 
    
75
77
    public abstract async Gee.List<Geary.Email>? list_email_async(int low, int count,
76
78
        Geary.Email.Field required_fields, Folder.ListFlags flags, Cancellable? cancellable = null)
77
79
        throws Error;
153
155
        Cancellable? cancellable = null) throws Error;
154
156
    
155
157
    public virtual string to_string() {
156
 
        return get_path().to_string();
 
158
        return "%s:%s".printf(account.to_string(), get_path().to_string());
157
159
    }
158
160
}
159
161