Esempio n. 1
0
File: main.c Progetto: dzhshf/WebKit
 "0.0.1",
 "(C)2008 INdT (The Nokia Technology Institute)\n"
 "(C)2009, 2010 ProFUSION embedded systems\n"
 "(C)2009, 2010, 2011 Samsung Electronics\n"
 "(C)2012 Intel Corporation\n",
 "GPL",
 "Test Web Browser using the Enlightenment Foundation Libraries of WebKit",
 EINA_TRUE, {
     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_CHOICE
         ('b', "backing-store", "choose backing store to use.", backingStores),
     ECORE_GETOPT_STORE_DEF_BOOL
         ('f', "flattening", "frame flattening.", 0),
     ECORE_GETOPT_STORE_DEF_BOOL
         ('F', "fullscreen", "fullscreen mode.", 0),
     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
         ('t', "theme", "path to read the theme file from."),
     ECORE_GETOPT_STORE_STR
         ('U', "user-agent", "custom user agent string to use."),
     ECORE_GETOPT_COUNT
         ('v', "verbose", "be more verbose."),
     ECORE_GETOPT_VERSION
         ('V', "version"),
     ECORE_GETOPT_COPYRIGHT
         ('R', "copyright"),
Esempio n. 2
0
#include "wall.h"

static const Ecore_Getopt options = {
    "wall-e",
    "%prog [options]",
    "0.1.0",
    "(C) 2008 Enlightenment",
    "BSD\nThis is a 3 clause bsd bla bla",
    "a simple image viewer using enlightenment foundation libraries.\n"
    "Here is the text of the licence",
    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_STORE_DEF_BOOL('F', "fullscreen", "fullscreen mode", 0),
        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('p', "path", "path to read the image files from"),
        ECORE_GETOPT_STORE_STR('t', "theme", "path to read the theme file from"),
        ECORE_GETOPT_STORE_INT('f', "fps", "frame per second"),
        ECORE_GETOPT_STORE_INT('l', "lines", "Number of lines to display"),
        ECORE_GETOPT_COUNT('v', "verbose", "be more verbose"),
        ECORE_GETOPT_VERSION('V', "version"),
        ECORE_GETOPT_COPYRIGHT('R', "copyright"),
        ECORE_GETOPT_LICENSE('L', "license"),
        ECORE_GETOPT_HELP('h', "help"),
        ECORE_GETOPT_SENTINEL
    }
};
Esempio n. 3
0
/*============================================================================*
 *                                  Local                                     *
 *============================================================================*/

static const Ecore_Getopt _options =
{
   "enna",
   "%prog [options]",
   VERSION,
   "(C) 2012 Enna Team",
   "BSD",
   "Enna - a powerfull mediacenter based on EFL and Enna Media Server",
   EINA_TRUE,
   {
      ECORE_GETOPT_STORE_DEF_BOOL
      ('f', "fullscreen", "Force fullscreen mode.", EINA_FALSE),
      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_VERSION
      ('V', "version"),
      ECORE_GETOPT_COPYRIGHT
      ('R', "copyright"),
      ECORE_GETOPT_LICENSE
      ('L', "license"),
      ECORE_GETOPT_HELP
      ('h', "help"),
      ECORE_GETOPT_STORE_STR
      ('t', "theme", "Specify theme file to be used."),
      ECORE_GETOPT_SENTINEL
   }
};
Esempio n. 4
0
static const Ecore_Getopt options = {
    "EWebLauncher",
    "%prog [options] [url]",
    "0.0.1",
    "(C)2008 INdT (The Nokia Technology Institute)\n"
    "(C)2009, 2010 ProFUSION embedded systems\n"
    "(C)2009, 2010 Samsung Electronics",
    "GPL",
    "Test Web Browser using the Enlightenment Foundation Libraries of WebKit",
    EINA_TRUE, {
        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_STORE_DEF_BOOL
            ('F', "fullscreen", "fullscreen mode.", 0),
        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
            ('t', "theme", "path to read the theme file from."),
        ECORE_GETOPT_STORE_STR
            ('U', "user-agent", "custom user agent string to use."),
        ECORE_GETOPT_STORE_DEF_BOOL
            ('S', "sudo-workaround", "Workaround mode for making Flash work with sudo.", 0),
        ECORE_GETOPT_COUNT
            ('v', "verbose", "be more verbose."),
        ECORE_GETOPT_VERSION
            ('V', "version"),
        ECORE_GETOPT_COPYRIGHT
            ('R', "copyright"),
Esempio n. 5
0
 "0.0.1",
 "(C)2008 INdT (The Nokia Technology Institute)\n"
 "(C)2009, 2010 ProFUSION embedded systems\n"
 "(C)2009, 2010, 2011 Samsung Electronics\n"
 "(C)2012 Intel Corporation\n",
 "GPL",
 "Test Web Browser using the Enlightenment Foundation Libraries of WebKit",
 EINA_TRUE, {
     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_CHOICE
         ('b', "backing-store", "choose backing store to use.", backingStores),
     ECORE_GETOPT_STORE_DEF_BOOL
         ('c', "encoding-detector", "enable/disable encoding detector", 0),
     ECORE_GETOPT_STORE_DEF_BOOL
         ('f', "flattening", "frame flattening.", 0),
     ECORE_GETOPT_STORE_DEF_BOOL
         ('F', "fullscreen", "fullscreen mode.", 0),
     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
         ('t', "theme", "path to read the theme file from."),
     ECORE_GETOPT_STORE_STR
         ('U', "user-agent", "custom user agent string to use."),
     ECORE_GETOPT_COUNT
         ('v', "verbose", "be more verbose."),
     ECORE_GETOPT_VERSION
         ('V', "version"),