summaryrefslogtreecommitdiffstats
path: root/src/eulogium.c
blob: bbe259c469b3b218bdcf30aa94218ee01c8124ac (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif

#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Evas.h>
#include <Edje.h>

#include "gettext.h"

#define COPYRIGHT "Copyright © 2015 oliver <o.schinagl@ultimaker.com> and various contributors (see AUTHORS)."

int main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
{
#if 0
	Eina_Bool quit_option = EINA_FALSE;
	int args;
	static const Ecore_Getopt optdesc = {
		"eulogium",
		"%prog [options]",
		PACKAGE_VERSION,
		COPYRIGHT,
		"Affero GPLv3",
		"eulogium program",
		0,
		{
			ECORE_GETOPT_LICENSE('L', "license"),
			ECORE_GETOPT_COPYRIGHT('C', "copyright"),
			ECORE_GETOPT_VERSION('V', "version"),
			ECORE_GETOPT_HELP('h', "help"),
			ECORE_GETOPT_SENTINEL
		}
	};


	Ecore_Getopt_Value values[] = {
		ECORE_GETOPT_VALUE_BOOL(quit_option),
		ECORE_GETOPT_VALUE_BOOL(quit_option),
		ECORE_GETOPT_VALUE_BOOL(quit_option),
		ECORE_GETOPT_VALUE_BOOL(quit_option),
		ECORE_GETOPT_VALUE_NONE
	};
	args = ecore_getopt_parse(&optdesc, values, argc, argv);
#endif

#if ENABLE_NLS
	setlocale(LC_ALL, "");
	bindtextdomain(PACKAGE, LOCALEDIR);
	bind_textdomain_codeset(PACKAGE, "UTF-8");
	textdomain(PACKAGE);
#endif

	eina_init();

	EINA_LOG_CRIT("Could not parse arguments.");

	eina_shutdown();

	return 0;
}