X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=blobdiff_plain;f=config.h;h=31149f6bf591795d3cbdc900bc4510d8e1b8db66;hp=858aec514080f77b09c142b40a3aa5959f89c1c2;hb=13c9c6e00e9ef925340eebc157ca8c8d5d1a00db;hpb=477b01a24f842c98e8abac56e3fe2ffb3d3a56db diff --git a/config.h b/config.h index 858aec5..31149f6 100644 --- a/config.h +++ b/config.h @@ -28,17 +28,19 @@ #define SWB_CONFIG_DEFAULT_BROWSER_SET 0x04 #define SWB_CONFIG_OTHER_BROWSER_CMD_SET 0x08 #define SWB_CONFIG_LOGGING_SET 0x10 +#define SWB_CONFIG_AUTOSTART_MICROB_SET 0x20 struct swb_config { unsigned int flags; /* Array of pointers to the elements of the struct, in the order given in swb_config_options[] */ - void *entries[4]; + void *entries[5]; int continuous_mode; char *default_browser; char *other_browser_cmd; char *logging; + int autostart_microb; }; struct swb_config_option { @@ -56,6 +58,4 @@ void swb_config_free(struct swb_config *cfg); int swb_config_load(struct swb_config *cfg); -int swb_config_save(struct swb_config *cfg); - #endif /* _CONFIG_H */