-#include <gtk/gtk.h>
-#include <tny-list.h>
-
-#include <tny-account-store-iface.h>
-#include <tny-list-iface.h>
-
-#include "modest-conf.h"
-#include "modest-account-mgr.h"
-#include "modest-ui.h"
-#include "modest-icon-factory.h"
-#include "modest-tny-transport-actions.h"
-#include "modest-tny-account-store.h"
-
-
-#ifdef MODEST_ENABLE_HILDON /* Hildon includes */
-#include <libosso.h>
-#endif /* MODEST_ENABLE_HILDON */
-
-/* return values */
-#define MODEST_ERR_NONE 0
-#define MODEST_ERR_OPTIONS 1
-#define MODEST_ERR_CONF 2
-#define MODEST_ERR_UI 3
-#define MODEST_ERR_HILDON 4
-#define MODEST_ERR_RUN 5
-#define MODEST_ERR_SEND 6
-
-static gboolean hildon_init (); /* NOP if HILDON is not defined */
-
-static int start_ui (ModestConf *conf, const gchar* mailto, const gchar *cc,
- const gchar *bcc, const gchar* subject, const gchar *body);
-
-static int send_mail (ModestConf *conf, const gchar* mailto, const gchar *cc, const gchar *bcc,
- const gchar* subject, const gchar *body);