X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-init.h;h=911bb81437e8f86a21611459244c96f8d5799003;hp=f5c9d4375f681036cf0d7785391a157fc628cc94;hb=52665b57b1c2770d5542fb0e70f96d6853225eb8;hpb=96d9a8c787c693406a0f26e3d3a00065c7236fe5 diff --git a/src/modest-init.h b/src/modest-init.h index f5c9d43..911bb81 100644 --- a/src/modest-init.h +++ b/src/modest-init.h @@ -72,6 +72,19 @@ gboolean modest_init_init_ui (gint argc, gchar** argv); gboolean modest_init_uninit (void); /** + * modest_init_local_folders: + * @location_filepath: The location at which the local-folders directory should be created, + * or NULL to specify $HOME. + * + * create the Local Folders folder under cache, if they + * do not exist yet. + * + * Returns: TRUE if the folder were already there, or + * they were created, FALSE otherwise + */ +gboolean modest_init_local_folders (const gchar* location_filepath); + +/** * modest_init_one_local_folder: * * Create the directory structure for a maildir folder, @@ -80,6 +93,7 @@ gboolean modest_init_uninit (void); */ gboolean modest_init_one_local_folder (gchar *maildir_path); + G_END_DECLS #endif /*__MODEST_INIT_H__*/