Another API change to fit with ecore :( - app args now grabbed through ecore_app_args_get - remember to set them

SVN revision: 10155
This commit is contained in:
handyande 2004-05-10 11:05:33 +00:00 committed by handyande
parent e2725f4690
commit 298d839bfd
2 changed files with 5 additions and 2 deletions

View File

@ -226,7 +226,7 @@ extern "C"
/* FIXME: this should only be included if evas is present */
int ecore_config_evas_font_path_apply(Evas * evas);
void ecore_config_args_display(void);
int ecore_config_args_parse(int argc, char **argv);
int ecore_config_args_parse(void);
void ecore_config_app_describe(char *description);
int ecore_config_create(const char *key, void *val,

View File

@ -224,13 +224,16 @@ ecore_config_parse_set(Ecore_Config_Prop * prop, char *arg, char *opt,
}
int
ecore_config_args_parse(int argc, char **argv)
ecore_config_args_parse(void)
{
int argc;
char **argv;
int nextarg, next_short_opt, found, ret;
char *arg;
char *long_opt, short_opt;
Ecore_Config_Prop *prop;
ecore_app_args_get(&argc, &argv);
nextarg = 1;
while (nextarg < argc)
{