gliv-1.7
[gliv.git] / src / cmdline.h
blobfb6ed38bc7570c7688cd7994d73c411a1dfb7e0f
1 /* cmdline.h */
3 /* File autogenerated by gengetopt version 2.8.1 */
5 #ifndef _cmdline_h
6 #define _cmdline_h
8 #ifdef __cplusplus
9 extern "C" {
10 #endif /* __cplusplus */
12 /* Don't define PACKAGE and VERSION if we use automake. */
13 #ifndef PACKAGE
14 #define PACKAGE ""
15 #endif
17 #ifndef VERSION
18 #define VERSION ""
19 #endif
21 struct gengetopt_args_info
23 int recursive_flag; /* Process directories recursively (default=off). */
24 int full_screen_flag; /* Start in full screen mode (default=off). */
25 int scale_down_flag; /* Reduce the image to the window (default=off). */
26 int maximize_flag; /* Maximize the image to the window (default=off). */
27 int make_fit_flag; /* Make the image fit the window (default=off). */
28 int zoom_pointer_flag; /* Zoom centered on pointer (default=off). */
29 int dither_flag; /* Enable dithering (default=off). */
30 int force_load_flag; /* Try to load every file (default=off). */
31 int mipmap_flag; /* Build Mipmaps (default=off). */
32 int build_menus_flag; /* Build images menu at startup (default=off). */
33 int mnemonics_flag; /* Make mnemonics for images menus (default=off). */
34 int slide_show_flag; /* Start the slide show immediately (default=off). */
35 int loop_flag; /* Make the slide show loop at the end (default=off). */
36 int menu_flag; /* Display the menu bar (default=on). */
37 int info_flag; /* Show infos about displayed image (default=on). */
38 int scrollbars_flag; /* Display scrollbars (default=on). */
39 int glivrc_flag; /* Load ~/.glivrc (default=on). */
40 int alpha_checks_flag; /* Alpha checks in the background (default=on). */
41 int delay_arg; /* Delay before hiding the cursor. */
42 int history_arg; /* Length of history. */
43 int duration_arg; /* Delay between each image. */
45 int help_given ; /* Whether help was given. */
46 int version_given ; /* Whether version was given. */
47 int shuffle_given ; /* Whether shuffle was given. */
48 int sort_given ; /* Whether sort was given. */
49 int recursive_given ; /* Whether recursive was given. */
50 int full_screen_given ; /* Whether full-screen was given. */
51 int scale_down_given ; /* Whether scale-down was given. */
52 int maximize_given ; /* Whether maximize was given. */
53 int make_fit_given ; /* Whether make-fit was given. */
54 int zoom_pointer_given ; /* Whether zoom-pointer was given. */
55 int dither_given ; /* Whether dither was given. */
56 int force_load_given ; /* Whether force-load was given. */
57 int mipmap_given ; /* Whether mipmap was given. */
58 int build_menus_given ; /* Whether build-menus was given. */
59 int mnemonics_given ; /* Whether mnemonics was given. */
60 int slide_show_given ; /* Whether slide-show was given. */
61 int loop_given ; /* Whether loop was given. */
62 int menu_given ; /* Whether menu was given. */
63 int info_given ; /* Whether info was given. */
64 int scrollbars_given ; /* Whether scrollbars was given. */
65 int glivrc_given ; /* Whether glivrc was given. */
66 int alpha_checks_given ; /* Whether alpha-checks was given. */
67 int delay_given ; /* Whether delay was given. */
68 int history_given ; /* Whether history was given. */
69 int duration_given ; /* Whether duration was given. */
71 char **inputs ; /* unamed options */
72 unsigned inputs_num ; /* unamed options number */
73 } ;
75 int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
77 void cmdline_parser_print_help(void);
78 void cmdline_parser_print_version(void);
80 #ifdef __cplusplus
82 #endif /* __cplusplus */
83 #endif /* _cmdline_h */