2007-06-11 Johannes Schmid <johannes.schmid@openismus.com>
[modest] / src / modest-account-mgr.h
index 580be8a..90237c0 100644 (file)
@@ -428,6 +428,18 @@ gboolean        modest_account_mgr_unset           (ModestAccountMgr *self,
                                                    const gchar *key,
                                                    gboolean server_account);
 
+/**
+ * modest_account_mgr_has_accounts:
+ * @self: a ModestAccountMgr instance
+ * @enabled: TRUE to search for enabled accounts only
+ * 
+ * Checks if any accounts exist
+ *
+ * Returns: TRUE if accounts exist, FALSE otherwise
+ */
+
+gboolean modest_account_mgr_has_accounts (ModestAccountMgr* self, gboolean enabled);
+
 G_END_DECLS
 
 #endif /* __MODEST_ACCOUNT_MGR_H__ */