X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-defs.h;h=19239af55a705ffcb40e09148555c06a8e67ff20;hp=e0dbc5221d42f45a836cff965fc85052e5b1105d;hb=cf600fb8c82e4f29a64a11b53361aa1f98a40f8c;hpb=b54ca9c03e98c7cf3baa11d452cee75f6bb79d9c;ds=sidebyside diff --git a/src/modest-defs.h b/src/modest-defs.h index e0dbc52..19239af 100644 --- a/src/modest-defs.h +++ b/src/modest-defs.h @@ -33,20 +33,6 @@ #include -/* exit codes for the modest executable*/ -enum { - MODEST_ERR_NONE = 0, /* no error */ - MODEST_ERR_OPTIONS, /* error in the options */ - MODEST_ERR_CONF, /* error getting confuration db */ - MODEST_ERR_UI, /* error in the UI */ - MODEST_ERR_HILDON, /* error with Hildon (maemo-only) */ - MODEST_ERR_RUN, /* errr running */ - MODEST_ERR_SEND, /* error sending mail */ - MODEST_ERR_PARAM, /* error in one or more of the parameters */ - MODEST_ERR_INIT /* error in initialization */ -}; - - /* some interesting dirs. NOTE, they should be prefixed * with $HOME; also, except MODEST_DIR itself, they * need to be prefixed with MODEST_DIR; @@ -56,9 +42,11 @@ enum { */ #define MODEST_DIR ".modest" #define MODEST_CACHE_DIR "cache" -#define MODEST_LOCAL_FOLDERS_MAILDIR "local_folders" #define MODEST_LOCAL_FOLDERS_ACCOUNT_NAME "local_folders" -#define MODEST_LOCAL_FOLDERS_DISPLAY_NAME N_("Local folders") +#define MODEST_LOCAL_FOLDERS_ACCOUNT_ID MODEST_LOCAL_FOLDERS_ACCOUNT_NAME +#define MODEST_LOCAL_FOLDERS_MAILDIR MODEST_LOCAL_FOLDERS_ACCOUNT_NAME + +#define MODEST_LOCAL_FOLDERS_DISPLAY_NAME N_(MODEST_LOCAL_FOLDERS_ACCOUNT_NAME) /* configuration key definitions for modest */ #define MODEST_CONF_NAMESPACE "/apps/modest"