1/*
2 * Copyright 2016 Software Freedom Conservancy Inc.
3 *
4 * This software is licensed under the GNU Lesser General Public License
5 * (version 2.1 or later).  See the COPYING file in this distribution.
6 */
7
8/**
9 * The addition of the Geary.FolderSupport.Mark interface indicates
10 * the {@link Geary.Folder} supports marking and unmarking messages
11 * with system and user-defined flags.
12 */
13public interface Geary.FolderSupport.Mark : Geary.Folder {
14
15    /**
16     * Adds and removes flags from a list of messages.
17     *
18     * This folder must be opened prior to attempting this operation.
19     */
20    public abstract async void
21        mark_email_async(Gee.Collection<EmailIdentifier> to_mark,
22                         EmailFlags? flags_to_add,
23                         EmailFlags? flags_to_remove,
24                         GLib.Cancellable? cancellable = null)
25        throws GLib.Error;
26
27}
28