FolderChangeInfo
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "camel_folder_change_info_get_type ()" ) ]
[ Compact ]
public class FolderChangeInfo
[ Compact ]
public class FolderChangeInfo
Namespace: Camel
Package: camel-1.2
Content:
Creation methods:
- public FolderChangeInfo ()
Create a new folder change info structure.
Methods:
- public void add_source (string uid)
Add a source uid for generating a changeset.
- public void add_source_list (owned GenericArray<unowned string> list)
Add a list of source uid's for generating a changeset.
- public void add_uid (string uid)
Add a new uid to the changeinfo.
- public void add_update (string uid)
Add a uid from the updated list, used to generate a changeset diff.
- public void add_update_list (owned GenericArray<unowned string> list)
Add a list of uid's from the updated list.
- public void build_diff ()
Compare the source uid set to the updated uid set and generate the differences into the added and removed lists.
- public void cat (FolderChangeInfo src)
Concatenate one change info onto antoher.
- public void change_uid (string uid)
Add a uid to the changed uid list.
- public bool changed ()
Gets whether or not there have been any changes.
- public void clear ()
Empty out the change info; called after changes have been processed.
- public FolderChangeInfo copy ()
Creates a copy of the this.
- public void free ()
Free memory associated with the folder change info lists.
- public unowned GenericArray<string> get_added_uids ()
Returns an array of added messages UIDs.
- public unowned GenericArray<string> get_changed_uids ()
Returns an array of changed messages UIDs.
- public unowned GenericArray<string> get_recent_uids ()
Returns an array of recent messages UIDs.
- public unowned GenericArray<string> get_removed_uids ()
Returns an array of removed messages UIDs.
- public void recent_uid (string uid)
Add a recent uid to the changedinfo.
- public void remove_uid (string uid)
Add a uid to the removed uid list.
Fields:
- public unowned GenericArray<void*> uid_added
- public unowned GenericArray<void*> uid_changed
- public unowned GenericArray<void*> uid_recent
- public unowned GenericArray<void*> uid_removed