PACKAGE_VERSION, "(C) 2010 - The Enlightenment Project", "BSD", "Edje file inspector, let one see groups, parts, programs and other details " "of a compiled (binary) edje file.\n", 0, { ECORE_GETOPT_CHOICE('m', "mode", "Choose which mode to operate on file.", mode_choices), ECORE_GETOPT_CHOICE('d', "detail", "Choose detail level (default=terse)", detail_choices), ECORE_GETOPT_STORE_STR('g', "group", "Limit output to group (or glob)."), ECORE_GETOPT_STORE_STR('p', "part", "Limit output to part (or glob)."), ECORE_GETOPT_STORE_STR('r', "program", "Limit output to program (or glob)."), ECORE_GETOPT_STORE_TRUE('a', "api-only", "Limit to just api parts or " "programs."), ECORE_GETOPT_STORE_TRUE('A', "api-fix", "Fix API names to be C compliant."), ECORE_GETOPT_STORE_TRUE('M', "machine", "Produce machine readable output."), ECORE_GETOPT_LICENSE('L', "license"), ECORE_GETOPT_COPYRIGHT('C', "copyright"), ECORE_GETOPT_VERSION('V', "version"), ECORE_GETOPT_HELP('h', "help"), ECORE_GETOPT_SENTINEL } }; static inline Eina_Bool matches(const char *name, const char *pattern) { if (!pattern) return EINA_TRUE; return fnmatch(pattern, name, 0) == 0;
"emotion_test", "%prog [options] <filename>", "1.0.0", "(C) 2011-2014 Enlightenment", "BSD\nThis is a 3 clause bsd bla bla", "a simple test program for emotion.", 1, { ECORE_GETOPT_STORE_STR('e', "engine", "ecore-evas engine to use"), ECORE_GETOPT_CALLBACK_NOARGS('E', "list-engines", "list ecore-evas engines", ecore_getopt_callback_ecore_evas_list_engines, NULL), ECORE_GETOPT_CALLBACK_ARGS('g', "geometry", "geometry to use in x:y:w:h form.", "X:Y:W:H", ecore_getopt_callback_geometry_parse, NULL), ECORE_GETOPT_STORE_STR('b', "backend", "backend to use"), ECORE_GETOPT_STORE_INT('v', "vis", "visualization type"), ECORE_GETOPT_STORE_TRUE('w', "webcams", "show all the available v4l streams"), ECORE_GETOPT_STORE_TRUE('r', "reflex", "show video reflex effect"), ECORE_GETOPT_STORE_TRUE('l', "loop", "restart the video when end reached"), ECORE_GETOPT_STORE_TRUE('p', "position", "start the video from last know position"), ECORE_GETOPT_VERSION('V', "version"), ECORE_GETOPT_COPYRIGHT('R', "copyright"), ECORE_GETOPT_LICENSE('L', "license"), ECORE_GETOPT_HELP('h', "help"), ECORE_GETOPT_SENTINEL } }; typedef struct _Frame_Data Frame_Data; struct _Frame_Data {
#undef EINA_LOG_DOMAIN_DEFAULT #define EINA_LOG_DOMAIN_DEFAULT _log_dom static int _log_dom = -1; const Ecore_Getopt optdesc = { "ecore_evas_convert", "%prog [options] <filename-source> <filename-destination>", PACKAGE_VERSION, "(C) 2014 Enlightenment", "BSD with advertisement clause", "Simple application to convert image.", 0, { ECORE_GETOPT_STORE_INT('q', "quality", "define encoding quality in percent."), ECORE_GETOPT_STORE_TRUE('c', "compress", "define if data should be compressed."), ECORE_GETOPT_STORE_STR('e', "encoding", "define the codec (for TGV files: 'etc1', 'etc2', 'etc1+alpha')"), ECORE_GETOPT_LICENSE('L', "license"), ECORE_GETOPT_COPYRIGHT('C', "copyright"), ECORE_GETOPT_VERSION('V', "version"), ECORE_GETOPT_HELP('h', "help"), ECORE_GETOPT_SENTINEL } }; typedef struct _Save_Job { const char *output; const char *flags; Evas_Object *im; int ret; } Save_Job;
void edi_test_basic(TCase *tc) { tcase_add_test(tc, edi_initialization); } static const Ecore_Getopt optdesc = { "edi", "%prog [options]", PACKAGE_VERSION, COPYRIGHT, "BSD with advertisement clause", "The EFL IDE", 0, { ECORE_GETOPT_STORE_TRUE('l', "list", "list available tests"), ECORE_GETOPT_STORE_STR('t', "test", "test to run"), ECORE_GETOPT_LICENSE('L', "license"), ECORE_GETOPT_COPYRIGHT('C', "copyright"), ECORE_GETOPT_VERSION('V', "version"), ECORE_GETOPT_HELP('h', "help"), ECORE_GETOPT_SENTINEL } }; int main(int argc EINA_UNUSED, char **argv EINA_UNUSED) { Suite *s; SRunner *sr; TCase *tc = NULL;
#include <Ecore_Getopt.h> static Eina_Bool _in_tree = EINA_FALSE; static char *_edje_file = NULL; static const Ecore_Getopt _options = { "war2edit", "%prog [options] [PUD file(s)]", "0.1", "2014-2017 © Jean Guyomarc'h", "MIT", "A modest clone of Warcraft II World Map Editor", EINA_TRUE, { ECORE_GETOPT_STORE_TRUE('d', "debug", "Enable graphical debug"), ECORE_GETOPT_HELP ('h', "help"), ECORE_GETOPT_VERSION('V', "version"), ECORE_GETOPT_SENTINEL } }; typedef struct { const char *name; Eina_Bool (*init)(void); void (*shutdown)(void); } Module; static const Module _modules[] =
"%prog [options] <filename>", "1.0.0", "(C) 2011 Enlightenment", "BSD\nThis is a 3 clause bsd bla bla", "a simple test program for emotion.", 1, { ECORE_GETOPT_STORE_STR('e', "engine", "ecore-evas engine to use"), ECORE_GETOPT_CALLBACK_NOARGS('E', "list-engines", "list ecore-evas engines", ecore_getopt_callback_ecore_evas_list_engines, NULL), ECORE_GETOPT_CALLBACK_ARGS('g', "geometry", "geometry to use in x:y:w:h form.", "X:Y:W:H", ecore_getopt_callback_geometry_parse, NULL), ECORE_GETOPT_STORE_STR('b', "backend", "backend to use"), ECORE_GETOPT_STORE_INT('v', "vis", "visualization type"), ECORE_GETOPT_COUNT('v', "verbose", "be more verbose"), ECORE_GETOPT_STORE_TRUE('R', "reflex", "show video reflex effect"), ECORE_GETOPT_VERSION('V', "version"), ECORE_GETOPT_COPYRIGHT('R', "copyright"), ECORE_GETOPT_LICENSE('L', "license"), ECORE_GETOPT_HELP('h', "help"), ECORE_GETOPT_SENTINEL } }; typedef struct _Frame_Data Frame_Data; struct _Frame_Data { unsigned char moving : 1; unsigned char resizing : 1; int button;