2011-09-28 09:16:26 -04:00
|
|
|
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
2011-09-06 16:17:08 -04:00
|
|
|
|
2011-11-20 11:52:50 -05:00
|
|
|
const Gio = imports.gi.Gio;
|
2011-09-06 16:17:08 -04:00
|
|
|
const Lang = imports.lang;
|
|
|
|
const Shell = imports.gi.Shell;
|
|
|
|
const Signals = imports.signals;
|
|
|
|
|
2011-11-20 11:52:50 -05:00
|
|
|
const FprintManagerIface = <interface name='net.reactivated.Fprint.Manager'>
|
|
|
|
<method name='GetDefaultDevice'>
|
|
|
|
<arg type='o' direction='out' />
|
|
|
|
</method>
|
|
|
|
</interface>;
|
2011-09-06 16:17:08 -04:00
|
|
|
|
2011-11-20 11:52:50 -05:00
|
|
|
const FprintManagerProxy = Gio.DBusProxy.makeProxyWrapper(FprintManagerIface);
|
2011-09-06 16:17:08 -04:00
|
|
|
|
2011-11-20 11:52:50 -05:00
|
|
|
function FprintManager() {
|
|
|
|
return new FprintManagerProxy(Gio.DBus.system,
|
|
|
|
'net.reactivated.Fprint',
|
|
|
|
'/net/reactivated/Fprint/Manager');
|
2011-09-06 16:17:08 -04:00
|
|
|
};
|