## EMVFolderRule

EMVFolderRule

## Synopsis

    struct              EMVFolderRule;
    EFilterRule *       em_vfolder_rule_new                 (void);
    void                em_vfolder_rule_add_source          (EMVFolderRule *rule,
                                                             const gchar *uri);
    void                em_vfolder_rule_remove_source       (EMVFolderRule *rule,
                                                             const gchar *uri);
    const gchar *       em_vfolder_rule_find_source         (EMVFolderRule *rule,
                                                             const gchar *uri);
    const gchar *       em_vfolder_rule_next_source         (EMVFolderRule *rule,
                                                             const gchar *last);
    GQueue *            em_vfolder_rule_get_sources         (EMVFolderRule *rule);
    void                em_vfolder_rule_sources_changed     (EMVFolderRule *rule);
    gboolean            em_vfolder_rule_source_get_include_subfolders
                                                            (EMVFolderRule *rule,
                                                             const gchar *source);
    void                em_vfolder_rule_source_set_include_subfolders
                                                            (EMVFolderRule *rule,
                                                             const gchar *source,
                                                             gboolean include_subfolders);
    enum                em_vfolder_rule_with_t;
    em_vfolder_rule_with_t em_vfolder_rule_get_with         (EMVFolderRule *rule);
    void                em_vfolder_rule_set_with            (EMVFolderRule *rule,
                                                             em_vfolder_rule_with_t with);
    gboolean            em_vfolder_rule_get_autoupdate      (EMVFolderRule *rule);
    void                em_vfolder_rule_set_autoupdate      (EMVFolderRule *rule,
                                                             gboolean autoupdate);

## Object Hierarchy

      GObject
       +----EFilterRule
             +----EMVFolderRule

## Description

## Details

### struct EMVFolderRule

    struct EMVFolderRule;

### em_vfolder_rule_new ()

    EFilterRule *       em_vfolder_rule_new                 (void);

### em_vfolder_rule_add_source ()

    void                em_vfolder_rule_add_source          (EMVFolderRule *rule,
                                                             const gchar *uri);

### em_vfolder_rule_remove_source ()

    void                em_vfolder_rule_remove_source       (EMVFolderRule *rule,
                                                             const gchar *uri);

### em_vfolder_rule_find_source ()

    const gchar *       em_vfolder_rule_find_source         (EMVFolderRule *rule,
                                                             const gchar *uri);

### em_vfolder_rule_next_source ()

    const gchar *       em_vfolder_rule_next_source         (EMVFolderRule *rule,
                                                             const gchar *last);

### em_vfolder_rule_get_sources ()

    GQueue *            em_vfolder_rule_get_sources         (EMVFolderRule *rule);

### em_vfolder_rule_sources_changed ()

    void                em_vfolder_rule_sources_changed     (EMVFolderRule *rule);

### em_vfolder_rule_source_get_include_subfolders ()

    gboolean            em_vfolder_rule_source_get_include_subfolders
                                                            (EMVFolderRule *rule,
                                                             const gchar *source);

### em_vfolder_rule_source_set_include_subfolders ()

    void                em_vfolder_rule_source_set_include_subfolders
                                                            (EMVFolderRule *rule,
                                                             const gchar *source,
                                                             gboolean include_subfolders);

### enum em_vfolder_rule_with_t

    enum em_vfolder_rule_with_t {
    	EM_VFOLDER_RULE_WITH_SPECIFIC,
    	EM_VFOLDER_RULE_WITH_LOCAL_REMOTE_ACTIVE,
    	EM_VFOLDER_RULE_WITH_REMOTE_ACTIVE,
    	EM_VFOLDER_RULE_WITH_LOCAL
    };

`EM_VFOLDER_RULE_WITH_SPECIFIC` |
`EM_VFOLDER_RULE_WITH_LOCAL_REMOTE_ACTIVE` |
`EM_VFOLDER_RULE_WITH_REMOTE_ACTIVE` |
`EM_VFOLDER_RULE_WITH_LOCAL` |

### em_vfolder_rule_get_with ()

    em_vfolder_rule_with_t em_vfolder_rule_get_with         (EMVFolderRule *rule);

### em_vfolder_rule_set_with ()

    void                em_vfolder_rule_set_with            (EMVFolderRule *rule,
                                                             em_vfolder_rule_with_t with);

### em_vfolder_rule_get_autoupdate ()

    gboolean            em_vfolder_rule_get_autoupdate      (EMVFolderRule *rule);

### em_vfolder_rule_set_autoupdate ()

    void                em_vfolder_rule_set_autoupdate      (EMVFolderRule *rule,
                                                             gboolean autoupdate);