summaryrefslogtreecommitdiff
path: root/src/options.h
blob: 7157fab56ec3e5ff0e86397e6ea3223a41fc8fcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef OPTION_H__
#define OPTION_H__

#ifndef GETTEXT_PACKAGE
#define GETTEXT_PACKAGE "oregano"
#endif

#include <glib.h>

typedef struct
{
	gboolean version;
	struct
	{
		gboolean wires;
		gboolean boxes;
		gboolean dots;
		gboolean directions;
		gboolean all;
	} debug;

} OreganoOptions;

gboolean oregano_options_parse (int *argc, char **argv[], GError **e);

gboolean oregano_options_version ();

gboolean oregano_options_debug_wires ();

gboolean oregano_options_debug_boxes ();

gboolean oregano_options_debug_dots ();

gboolean oregano_options_debug_directions ();

#endif /* OPTION_H__ */