blob: b88e94e69031641345665fc725bdf7699784e91f (
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 BluetoothIndicator (bluetooth);
service.run ();
return Posix.EXIT_SUCCESS;
}
|