X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-init.h;h=bd99e353603f9465b50aaede4d914fad4952c622;hp=0503c843c5f2c0ce8b00b40fd7184927e357c9b3;hb=e98c568727b9217290281ec9f9cab5f0f6086511;hpb=562919f14c59960fe7425e2ed19c03eff73a4ace diff --git a/src/modest-init.h b/src/modest-init.h index 0503c84..bd99e35 100644 --- a/src/modest-init.h +++ b/src/modest-init.h @@ -33,11 +33,14 @@ #include #include #include +#include G_BEGIN_DECLS /** * modest_init_init_core: + * @argc: + * @argv: * * initialize the modest runtime system (which sets up the * environment, instantiates singletons and so on) @@ -46,22 +49,10 @@ G_BEGIN_DECLS * * TRUE if this succeeded, FALSE otherwise. */ -gboolean modest_init_init_core (void); +gboolean modest_init (int argc, char *argv[]); /** - * modest_init_init_ui: - * @argc: the #argc argument to the main function - * @argv: the #argv argument to the main function - * - * initialize the modest UI; this replaces the call to - * gtk_init - * - * TRUE if this succeeded, FALSE otherwise. - */ -gboolean modest_init_init_ui (gint argc, gchar** argv); - -/** * modest_init_uninit: * * uninitialize the modest runtime system; free all the @@ -91,6 +82,15 @@ gboolean modest_init_local_folders (const gchar* location_filepath); */ gboolean modest_init_one_local_folder (gchar *maildir_path); +/** + * modest_init_get_default_header_view_column_widths: + * + * Get a GList* containing the default column ids, + * for when suitable values cannot be retrieved from gconf. + * The result should be freed with g_slist_free(). + * Use (ModestHeaderViewColumn(GPOINTER_TO_INT(item->data)) to get the IDs. + */ +GList * modest_init_get_default_header_view_column_ids (TnyFolderType folder_type, ModestHeaderViewStyle style); G_END_DECLS