blob: 824e1d57d63a409d025d5c0b019a75a3f727fc78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
public static int
main (string[] args)
{
// set up i18n
Intl.bind_textdomain_codeset (Config.GETTEXT_PACKAGE, "UTF-8");
Intl.setlocale (LocaleCategory.ALL, "");
Intl.bindtextdomain (Config.GETTEXT_PACKAGE, Config.GNOMELOCALEDIR);
Intl.textdomain (Config.GETTEXT_PACKAGE);
// create the backend
var bluetooth = new Bluez (new RfKillSwitch ());
// start the service
var service = new Service (bluetooth);
service.run ();
return Posix.EXIT_SUCCESS;
}
|