2017-03-19 14:37:15 +00:00
|
|
|
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
|
|
|
|
|
|
|
const Gio = imports.gi.Gio;
|
|
|
|
|
2018-09-06 00:55:20 +00:00
|
|
|
const { loadInterfaceXML } = imports.misc.fileUtils;
|
2017-03-19 14:37:15 +00:00
|
|
|
|
2018-09-06 00:55:20 +00:00
|
|
|
const PermissionStoreIface = loadInterfaceXML('org.freedesktop.impl.portal.PermissionStore');
|
2017-03-19 14:37:15 +00:00
|
|
|
const PermissionStoreProxy = Gio.DBusProxy.makeProxyWrapper(PermissionStoreIface);
|
|
|
|
|
|
|
|
function PermissionStore(initCallback, cancellable) {
|
|
|
|
return new PermissionStoreProxy(Gio.DBus.session,
|
|
|
|
'org.freedesktop.impl.portal.PermissionStore',
|
|
|
|
'/org/freedesktop/impl/portal/PermissionStore',
|
|
|
|
initCallback, cancellable);
|
2019-01-29 01:18:52 +00:00
|
|
|
}
|