## CamelVeeSummary

CamelVeeSummary

## Synopsis

    struct              CamelVeeSummary;
    struct              CamelVeeMessageInfo;
    CamelFolderSummary * camel_vee_summary_new              (struct _CamelFolder *parent);
    CamelVeeMessageInfo * camel_vee_summary_add             (CamelVeeSummary *s,
                                                             struct _CamelVeeMessageInfoData *mi_data);
    void                camel_vee_summary_remove            (CamelVeeSummary *summary,
                                                             const gchar *vuid,
                                                             CamelFolder *subfolder);
    void                camel_vee_summary_replace_flags     (CamelVeeSummary *summary,
                                                             const gchar *uid);
    GHashTable *        camel_vee_summary_get_uids_for_subfolder
                                                            (CamelVeeSummary *summary,
                                                             CamelFolder *subfolder);

## Object Hierarchy

      GObject
       +----CamelObject
             +----CamelFolderSummary
                   +----CamelVeeSummary

## Description

## Details

### struct CamelVeeSummary

    struct CamelVeeSummary;

### struct CamelVeeMessageInfo

    struct CamelVeeMessageInfo {
    	CamelMessageInfoBase info;
    	CamelFolderSummary *orig_summary;
    	guint32 old_flags;  /* These are just for identifying changed flags */
    };

### camel_vee_summary_new ()

    CamelFolderSummary * camel_vee_summary_new              (struct _CamelFolder *parent);

This will create a new CamelVeeSummary object and read in the summary data from disk, if it exists.

`parent` : | Folder its attached to.
Returns : | A new CamelVeeSummary object.

### camel_vee_summary_add ()

    CamelVeeMessageInfo * camel_vee_summary_add             (CamelVeeSummary *s,
                                                             struct _CamelVeeMessageInfoData *mi_data);

### camel_vee_summary_remove ()

    void                camel_vee_summary_remove            (CamelVeeSummary *summary,
                                                             const gchar *vuid,
                                                             CamelFolder *subfolder);

FIXME Document me!

Since 3.6

### camel_vee_summary_replace_flags ()

    void                camel_vee_summary_replace_flags     (CamelVeeSummary *summary,
                                                             const gchar *uid);

Makes sure `summary` flags on `uid` corresponds to those in the subfolder of vee-folder, and updates internal counts on `summary` as well.

`summary` : | a CamelVeeSummary
`uid` : | a message UID to update flags for

Since 3.6

### camel_vee_summary_get_uids_for_subfolder ()

    GHashTable *        camel_vee_summary_get_uids_for_subfolder
                                                            (CamelVeeSummary *summary,
                                                             CamelFolder *subfolder);

FIXME Document me!

Since 3.6