summaryrefslogtreecommitdiff
path: root/src/bin/main.c
blob: 5d5ea975628c09109ea5afaf0ae6ec0c91735b75 (plain) (blame)
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
#include <config.h>
#include <stdio.h>
#include <aplwc.h>

#if ENABLE_NLS
#include <libintl.h>
#define _(S) dgettext(PACKAGE, S)
#else
#define _(S) S
#endif

int
main(int argc, char *argv[])
{
	APLWCFunctions fns;
	APLWC *aplwc;

	aplwc_boot();

	if(argc != 1)
		puts(_("No command line arguments expected"));

	aplwc_init_fns(&fns);
	aplwc = aplwc_init(&fns, NULL);
	aplwc_exit(aplwc);
	return 0;
}